maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   N800 Battery Meter (https://talk.maemo.org/showthread.php?t=7590)

dblank 2007-12-11 19:52

Re: N800 Battery Meter
 
Quote:

Originally Posted by kb0sei (Post 107189)
I'd personally like a power meter that shows me the max voltage and current voltage. The time does me no good.

Same here.. does anyone know how to get at this information??

It'd be neat if there was a way to get the current consumption as well, without jamming an ammeter between battery and device.

johnkzin 2007-12-11 21:06

Re: N800 Battery Meter
 
I just want to know % full. A time estimate is _nice_, but not necessary. A percentage full is necessary.

The other thing I don't like: when it's charging, it only tells you "charging". It should also tell you the % full here, as well.

KotCzarny 2008-03-11 23:35

Re: N800 Battery Meter
 
i have made a bunch of scripts to visualize misc retu-adc data, you're welcome to try: http://mrrau.dyndns.org:23280/n800/kcbatt/

kcbatt is my attempt at cmd-line battery reporter
gather_data/ contains scripts to log/plot

ps1. battery reporting algo is v0.1, so any feedback will be nice :)
ps2. it needs access to /dev/retu so you will need to run it as root or give default user access to that device
ps3. contact me on irc: #maemo on freenode
ps4. should work on 770 and 810 too

qwerty12 2008-03-13 19:58

Re: N800 Battery Meter
 
@KotCZarny

Very nice :), thanks :)

Btw, are you on #maemo with that name? Thanks for the copy help on there too.

eek, copy not cp. as was pointed out on irc. I have a lot to learn about the internet abbreviations...

instigator 2008-03-13 20:15

Re: N800 Battery Meter
 
I use battery-status. It OS2008 compatible and gives you % full.

It is found in Andrey's Maemo Repository or here : http://nitapps.com/

KotCzarny 2008-03-13 20:19

Re: N800 Battery Meter
 
from 'battery-status' page:
"Note: Because battery-status relies on DBus signaling, running it has the unfortunate side effect of activating the battery applet. I will try to find a workaround for this."

my tool bangs on raw metal (/dev/retu) and gives battery voltage as one of digits so you can finetune it for yourself. every % number is only an estimation, be it nokia's applet or battery-status.
and for compatibility you need only /dev/retu (it's not hildon app, it's meant to be run in scripts)

PinCushionQueen 2008-03-16 14:38

Re: N800 Battery Meter
 
Sorry to be so dumb - but I can't get kcbatt to work on my N810... What exactly do you need to do to install this? I copied kcbatt.bin to my /usr/bin/ directory and then in xterm ran # sudo gainroot -> followed by # kcbatt I keep getting permissions errors. What am I doing wrong? Thanks!

qwerty12 2008-03-16 14:43

Re: N800 Battery Meter
 
@PinCushionQueen

type as root, one time only:
chmod +x /usr/bin/kcbatt

:)

kcbatt works nicely on my n800.

cyberboy 2008-03-16 16:01

Re: N800 Battery Meter
 
Many Nokia Mobile Phones are so,Not just for N800.

PinCushionQueen 2008-03-18 19:23

Re: N800 Battery Meter
 
Thanks Qwerty12! That did the trick...

I must say that I quite a bit surprised at the difference in "estimations" of percent battery life left on my N810 between the 2 applications (battery-status vs. kcBatt) kcBatt reads consistanly ~20% lower than battery-status. Heck kcBatt gave me a level of 86% immediately after unplugging my NIT from the charger. Does this mean something is wrong with my battery? my charging connector? or the kcBatt algorithm?

I'm not sure what to trust. Isn't it bad to run Li ion batteries down too low on a regular basis?


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

vBulletin® Version 3.8.8