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.

Who is online

In total there are 7 users online :: 0 registered, 0 hidden and 7 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 7 guests