Power & Source of Big Ideas

Battery fuel gauge IC support

Moderators: chensy, FATechsupport

I'm developing the system which will be using SOM-RK3399 and powered from the Li-ion battery. The system is running Android. Currently, Android shows battery as 'Fully Charged' all time. Is it possible to add any battery fuel gauge IC to the system (I2C / SMBUS) which will allow showing the actual percentage of the battery charge in Android status menu?

Are any of battery fuel gauge IC already supported in Android for RK3399?

Thanks a lot in advance.
You can do this but you will need to modify the AOSP and the kernel to support the IC you want to use.
This should be fine. Could you please guide me to some examples / links? Thanks a lot!
Use make menuconfig on the Kernel to look through and find a suitable driver of the fuel gauge IC you want to use. Then you need to find a suitable Android code to read this. You can use the FAKE battery code from FA as a starting point.
Thanks a lot for pointing! Looks clear now.
Hi, thanks for your explanation that helps me a lot too

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 4 guests