You are not logged in.

#1 2010-08-02 12:09:11

kclarsen
Member
Registered: 2010-08-02
Posts: 4

Terminal battery check eeepc

Hi All,

I have previously used ubuntu, but decided for my eeepc to install arch due to space issues. I have got pretty much everything working using toofishes kernel. I am not planning on using x (don't really need it for emails and ssh etc), but was wondering if there is anyway to check the remaining battery power from the terminal?

Cheers,

Kenny

Offline

#2 2010-08-02 12:25:19

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819

Re: Terminal battery check eeepc

[stijn@hermes ~]$ cat /proc/acpi/battery/BAT1/
alarm  info   state

Thosse files should have the info you're looking for.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2010-08-02 12:28:12

Watermel0n
Member
Registered: 2010-03-10
Posts: 60

Re: Terminal battery check eeepc

On my eeepc 1005PE you can cat /proc/acpi/battery/BAT0/state.
+ you can also use powertop to show the remaining time.

Offline

#4 2010-08-02 12:28:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,937
Website

Re: Terminal battery check eeepc

acpi -b


Give what you have. To someone, it may be better than you dare to think.
Blog

Offline

#5 2010-08-02 12:42:22

kclarsen
Member
Registered: 2010-08-02
Posts: 4

Re: Terminal battery check eeepc

Thanks guys,

It turned our acpi wasn't installed which was the issue. Anyway all working now, useful to know where those file are.

Kenny

Offline

Board footer

Powered by FluxBB