View Single Post
SpeedEvil's Avatar
Posts: 70 | Thanked: 410 times | Joined on Sep 2009 @ Fife, Scotland.
#871
Originally Posted by titan View Post
1) modprobe bq27x00_battery and check /sys/class/power_supply/bq27200-0
3) both are compiled in
ls /sys/kernel/debug/usbmon/
0s 0u 1s 1t 1u
5) always backup and be prepared to reflash
One caveat.
the current exposed by the bq27200 needs multiplied by (20/3.57)mA to get a current.

It's a raw value from the chip.
the '20' is arguable - but is at least more or less reasonable.
This is as the chip really reads out in units of 3.57uV, and the resistor the battery current is applied across is 20mR in the datasheet recommendation.
 

The Following 7 Users Say Thank You to SpeedEvil For This Useful Post: