View Single Post
Old 08-19-2012, 09:05 PM   #12
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021142
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
use gasgauge-info

as demonstrated here

On a fully charged 3.

Code:
[root@kindle us]# gasgauge-info -s
94%
Mon Aug 20 02:09:06 2012  INFO:battery charge: 94%
[root@kindle us]#
well almost...


Code:
[root@kindle us]# gasgauge-info --help  
usage:
gasgauge-info [-cdhklms] [-i <seconds>] <registers...>
-c      output state of charge in percent
-d      dump all gas gauge registers
-h      help
-i s    interval (seconds)
-s      same as -c
-t      add a timestamp to dumps
-v      output battery voltage value
-l      output battery charge current (load)
-k      output battery temperature
-m      output battery available capacity (mAh)
Code:
[root@kindle us]# gasgauge-info -v      
4167 mV
Mon Aug 20 02:06:29 2012  INFO:battery voltage: 4167 mV
Code:
[root@kindle us]# gasgauge-info -l 
234 mA
Mon Aug 20 02:06:35 2012  INFO:battery current: 234 mA
Code:
[root@kindle us]# gasgauge-info -m
1702 mAh
Mon Aug 20 02:06:39 2012  INFO:battery current: 1702 mA
won't help fix anything but using the drain monitor on a couple of seconds timer could let you catch whatever is killing it in action. *maybe*

HTH

Last edited by twobob; 08-19-2012 at 09:12 PM. Reason: added reason for blurb and hopefully helpful tips
twobob is offline   Reply With Quote