MAX17048 power gauge shouldn't report CURRENT_NOW property per datasheet but it does?

16 views
Skip to first unread message

Rahul Murmuria

unread,
Feb 1, 2016, 4:29:25 PM2/1/16
to Android Linux Kernel Development
Nexus 5 claims to run Maxim MAX17048 fuel gauge. The same can be verified from Android Sources 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.

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?

Reply all
Reply to author
Forward
0 new messages