Nexus 5 claims to run Maxim MAX17048 fuel gauge. The same can be verified 
from Android Sources 
<https://source.android.com/devices/tech/power/device.html> website, and 
from the kernel config on any device. 

As per documentation, this fuel gauge only supports battery SOC 
measurements. The same information can be found in the MAX17048 datasheet 
<http://datasheets.maximintegrated.com/en/ds/MAX17048-MAX17049.pdf>.

However, I am able to read the sysfs file 

> /sys/class/power_supply/battery/current_now 
>
and get the current measurement at the battery in uA unit at high 
precision. 

- How did this happen? 
- What has the kernel got to provide this functionality? Is there a kernel 
module that performs additional calculations above the measurements 
provided?
- Can I enable this functionality on other devices such as the Galaxy S5 
having the same power gauge?

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to