View Single Post
Posts: 529 | Thanked: 194 times | Joined on Aug 2010 @ UK
#1352
Originally Posted by metawishmaster View Post
I'm writing small script where I get battery level as following:
full=`cat /sys/class/power_supply/bq27200-0/charge_full`
now=`cat /sys/class/power_supply/bq27200-0/charge_now`
echo "Battery at `expr $now \* 100 \/ ${full}`%"

But it doesn't work with KP48
What should I do instead?
check this out maybe worth a read
__________________
METASPLOIT INSTALL N900
Keep the forums clean
Dont forget to say thanks