Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
battery monitor (amd64)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
otake-tux
n00b
n00b


Joined: 08 Nov 2005
Posts: 21

PostPosted: Sat Mar 18, 2006 4:55 am    Post subject: battery monitor (amd64) Reply with quote

Hello. I just finished installing gentoo on my laptop 6 hours ago. I have an Acer 5004wlmi turion laptop running kernel 2.6.15.

I read that the best 64 bit linux distribution was gentoo so here I am. Now since this is a laptop I'm running I need to know how much battery life I have left at any given time. I would like to know how to get gnome to display my battery. I right click on the panel and can find no application that does this. I searched portage and I found wmbattery which does not do anything when I plug or unplug the ac adapter.

Any help would be much apreciated...
Back to top
View user's profile Send private message
joker
l33t
l33t


Joined: 03 May 2003
Posts: 681
Location: www

PostPosted: Sun Mar 19, 2006 10:37 pm    Post subject: Reply with quote

first check if your system sees the battery and ac-adapter:
Code:
acpi -V


then emerge one of the battery monitor, for gnome it's gnome/extra-battstat
Code:
emerge battstat


good luck :)
_________________
http://amarok.org.pl | http://koffice.org.pl | http://kde.org.pl
Back to top
View user's profile Send private message
otake-tux
n00b
n00b


Joined: 08 Nov 2005
Posts: 21

PostPosted: Mon Mar 20, 2006 2:29 pm    Post subject: Reply with quote

Code:
acpi -V


returns
Code:
bash: acpi: command not found


and battstat is a masked package....
Back to top
View user's profile Send private message
joker
l33t
l33t


Joined: 03 May 2003
Posts: 681
Location: www

PostPosted: Mon Mar 20, 2006 5:37 pm    Post subject: Reply with quote

Code:
emerge acpi


there are lot of battery monitors in portage, you need to look something for you. on my amd64 I used battery monitor from kde, gkrellm2 and from conky (which using acpi command to display information)
_________________
http://amarok.org.pl | http://koffice.org.pl | http://kde.org.pl
Back to top
View user's profile Send private message
otake-tux
n00b
n00b


Joined: 08 Nov 2005
Posts: 21

PostPosted: Mon Mar 20, 2006 9:48 pm    Post subject: Reply with quote

That's also a masked package. Don't you mean acpid? under acpi it says:
Code:
 Attempts to replicate the functionality of the 'old' apm command on ACPI systems, including battery and thermal information.
Back to top
View user's profile Send private message
joker
l33t
l33t


Joined: 03 May 2003
Posts: 681
Location: www

PostPosted: Tue Mar 21, 2006 3:16 pm    Post subject: Reply with quote

acpi command comes from apci package.
this package is ~amd64, so you may want to add it to package.keyword with ~amd64
_________________
http://amarok.org.pl | http://koffice.org.pl | http://kde.org.pl
Back to top
View user's profile Send private message
lyonsd
Apprentice
Apprentice


Joined: 02 Mar 2005
Posts: 153
Location: Flowery Branch, GA

PostPosted: Thu Mar 23, 2006 12:00 am    Post subject: Reply with quote

joker wrote:
Code:
emerge acpi


there are lot of battery monitors in portage, you need to look something for you. on my amd64 I used battery monitor from kde, gkrellm2 and from conky (which using acpi command to display information)


What is the name of the KDE one? That is, how do you launch it from the command line?

Thanks.
_________________
Dave
Back to top
View user's profile Send private message
tboloo
Guru
Guru


Joined: 20 Jan 2006
Posts: 403
Location: Grodzisq, Poland

PostPosted: Thu Mar 23, 2006 12:30 pm    Post subject: Reply with quote

lyonsd wrote:


What is the name of the KDE one? That is, how do you launch it from the command line?

Thanks.

The one I use is called KThinkBat (ebuild on bugs.gentoo.org), but I don't think that it can be launched from command line. Instead you may try to cat /proc/acpi/battery/BAT*/state
_________________
The clock is ticking, brothers and sisters, counting down to Armageddon.
Back to top
View user's profile Send private message
joker
l33t
l33t


Joined: 03 May 2003
Posts: 681
Location: www

PostPosted: Thu Mar 23, 2006 3:28 pm    Post subject: Reply with quote

lyonsd wrote:

What is the name of the KDE one? That is, how do you launch it from the command line?
Thanks.


Code:
emerge klaptopdaemon

_________________
http://amarok.org.pl | http://koffice.org.pl | http://kde.org.pl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum