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 :(

mtagt56 2009-12-16 20:44

Re: How to get % of batteries?
 
I have tried to get the ishal grep bat

but i get a not found message what am i doing wrong apart for being an idiot

j.s 2009-12-16 20:51

Re: How to get % of batteries?
 
Quote:

Originally Posted by mtagt56 (Post 430974)
I have tried to get the ishal grep bat

but i get a not found message what am i doing wrong apart for being an idiot

It is
Code:

lshal | grep bat
Lower case "L", not lower case "I"

j.s 2009-12-16 20:53

Re: How to get % of batteries?
 
Quote:

Originally Posted by kcman123 (Post 430963)
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 :(

Blue arrow on far left of 2nd kb row, then "Sym" on far left of top kb row.

A soft KB pops up on the screen with "|" on the far right of the top row.

j.s 2009-12-16 20:56

Re: How to get % of batteries?
 
Quote:

Originally Posted by mihapodb (Post 430956)
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.


Please use search on this site and on google. This gets asked over and over and over. It does not have a simple answer.

Root access allows a lot of direct control of a computer, which brings risk of damage.

ssh allows terminal access across a network from another computer.

RevdKathy 2009-12-16 21:07

Re: How to get % of batteries?
 
Thank you to all in this thread. My first ever venture into X-terminal - I got the information I wanted and I don;t think I harmed My Mo in the slightest.

*Feeling very proud of myself*

denis.rosas 2009-12-16 21:25

Re: How to get % of batteries?
 
I recently installed an application named "Advanced Power". It displays lots of information including the battery percentage you are loking for.

I think it's a good alternative for newbie users. But to install it you have to include maemo Extras repository (http://repository.maemo.org/extras/) at application manager.

The only problem is that after I installed Advanced Power, my tablet takes a little longer to load Maemo (about 10 seconds).

j.s 2009-12-16 21:25

Re: How to get % of batteries?
 
Quote:

Originally Posted by RevdKathy (Post 431008)
Thank you to all in this thread. My first ever venture into X-terminal - I got the information I wanted and I don;t think I harmed My Mo in the slightest.

*Feeling very proud of myself*

Congratulations.

For many tasks, terminal commands are the fastest and easiest ways to get the job done. Although it is trivially easy to do damage with a terminal command, it is really not that hard to use it without adverse effect.

On the other hand, I am in constant fear of messing something up with a slip of the finger in maemo 5. I think GUIs are great, and maemo 5 pretty good. But I think it is far too easy in maemo 5 to tell the n900 to do the wrong thing, even when I've remembered the right invisible obscure gesture to make, but don't quite execute it correctly.

mihapodb 2009-12-16 23:17

Re: How to get % of batteries?
 
Quote:

Originally Posted by denis.rosas (Post 431030)
I recently installed an application named "Advanced Power". It displays lots of information including the battery percentage you are loking for.

I think it's a good alternative for newbie users. But to install it you have to include maemo Extras repository (http://repository.maemo.org/extras/) at application manager.

The only problem is that after I installed Advanced Power, my tablet takes a little longer to load Maemo (about 10 seconds).

Where is the app? And which one did you install:

extras-devel-fremantle.instal
extras-devel.install
extras.install

Phantasm 2009-12-16 23:32

Re: How to get % of batteries?
 
For guide about detailed battery information, see
http://talk.maemo.org/showthread.php?p=421349

Dollyknot 2009-12-16 23:34

Re: How to get % of batteries?
 
It is on the on_screen keyboard, couldn't find it on the slide out keyboard, select the character select button that isn't letters and isn't numbers.

amorek13 2009-12-17 00:56

Re: How to get % of batteries?
 
fn arrow and ctrl dont worry took me 3 weeks to figure that one out


All times are GMT. The time now is 19:59.

vBulletin® Version 3.8.8