maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   How to get % of batteries? (https://talk.maemo.org/showthread.php?t=37449)

mihapodb 2009-12-16 19:56

How to get % of batteries?
 
How to get information about how many % of battery is charged?

And is it possiable to know how many mAh battery has for real?

Thank you

oneFinn 2009-12-16 19:58

Re: How to get % of batteries?
 
Launch the X-terminal and type:

lshal | grep bat

command will list a bunch of battery related information.

mihapodb 2009-12-16 20:01

Re: How to get % of batteries?
 
I tried this a time ago, but looks like I tryped wrong :)

Thank you, perfect :)

Matan 2009-12-16 20:02

Re: How to get % of batteries?
 
But please note that the percentage field seems to be irrelevant when charging. It seems to me that it displays the value before charging started.

ZackMorris 2009-12-16 20:12

Re: How to get % of batteries?
 
for strictly battery percentage

lshal | grep percen

mihapodb 2009-12-16 20:16

Re: How to get % of batteries?
 
Thank you all, at this oportunity I would like to ask you if you guys have any list of commands for X terminal? I do not know any.

kwotski 2009-12-16 20:19

Re: How to get % of batteries?
 
mihapodb: To get started, you could have a look in here: http://talk.maemo.org/showthread.php?t=35606

j.s 2009-12-16 20:25

Re: How to get % of batteries?
 
Quote:

Originally Posted by mihapodb (Post 430938)
Thank you all, at this oportunity I would like to ask you if you guys have any list of commands for X terminal? I do not know any.

to get a list of coomands, type in X terminal:
1. For general commands:
Code:

ls /usr/bin
2. Additional general commands needed before /usr
is available to system (don't worry about that):
Code:

ls /bin
3. Commands for super user, but might have general use:
Code:

ls /usr/sbin
4. super user commands needed before /usr mount:
Code:

ls /sbin
For information about each of these commands, google is your friend.

mihapodb 2009-12-16 20:32

Re: How to get % of batteries?
 
WOW. Will read when I will have time :) Just one question more:
What I get if I use Rootsh 1.5
http://maemo.org/downloads/product/Maemo5/rootsh/

What means root access? and SSH? What is it needed for? Sorry for newbie questions, but eventually I will be good in knowing maemo like I get pretty good at symbian.

kcman123 2009-12-16 20:36

Re: How to get % of batteries?
 
I'm sorry guys but when you type lshal | grep percen
How do i type | on my N900? Sorry for the noobie questions as well :(


All times are GMT. The time now is 15:21.

vBulletin® Version 3.8.8