maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Battery readers won't work. (https://talk.maemo.org/showthread.php?t=73295)

garen 2011-05-21 00:53

Battery readers won't work.
 
Ok so I've been using the battery widget from way back when, but now it suddenly stopped working. Also, in battery eye, it doesn't show any information even though the device has been on for well over a few hours. And the little battery next to the time only shows full and randomly goes to red. Any help please?

kural7 2011-05-21 09:07

Re: Battery readers won't work.
 
hey i've got a very similar problem. i have no status bar battery display. i have no clue on high much battery i have left or what the current stat is. any ideas. any help will be great.

vi_ 2011-05-21 09:19

Re: Battery readers won't work.
 
This script will tell you current charge/votage and voltage at charging.

Code:

hal-device bme | awk '/l.p/ {perc = $3}; /g.c/ {curr = $3}; /e.cu/ {volt = $3}; /s_c/ {isch = $3} END if (isch == "false") {print perc" % ("curr"mAh/"volt"mV)"} else {print "Charging@"volt"mV"}

garen 2011-05-22 07:36

Re: Battery readers won't work.
 
Quote:

Originally Posted by vi_ (Post 1011776)
This script will tell you current charge/votage and voltage at charging.

Code:

hal-device bme | awk '/l.p/ {perc = $3}; /g.c/ {curr = $3}; /e.cu/ {volt = $3}; /s_c/ {isch = $3} END if (isch == "false") {print perc" % ("curr"mAh/"volt"mV)"} else {print "Charging@"volt"mV"}

The thing is my phone's USB port broke, so i bought a spare bootleg battery and a charger that you plug the battery into. So technically can't check while charging.

uppercase 2011-05-22 10:25

Re: Battery readers won't work.
 
Quote:

Originally Posted by kural7 (Post 1011769)
hey i've got a very similar problem. i have no status bar battery display. i have no clue on high much battery i have left or what the current stat is. any ideas. any help will be great.

If the battery icon disapeard from status bar, try this command in xterm:
Code:

gtk-update-icon-cache


All times are GMT. The time now is 08:06.

vBulletin® Version 3.8.8