Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to check ibook battery level?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
gentoo_user2003
n00b
n00b


Joined: 21 Sep 2003
Posts: 30

PostPosted: Fri Mar 05, 2004 6:42 pm    Post subject: how to check ibook battery level? Reply with quote

I have just installed Gentoo on a G4 iBook. How do I check the current battery level? I imagine there is some file in /proc that reports it?
Back to top
View user's profile Send private message
mean
Guru
Guru


Joined: 25 Sep 2002
Posts: 313

PostPosted: Fri Mar 05, 2004 7:48 pm    Post subject: Reply with quote

I selected apm emulation in 2.6 kernel
Back to top
View user's profile Send private message
gentoo_user2003
n00b
n00b


Joined: 21 Sep 2003
Posts: 30

PostPosted: Fri Mar 05, 2004 9:48 pm    Post subject: Reply with quote

I have done that, and I have /proc/apm which I think is reporting the battery level (100%), so thank you!

However, the apm program itself does not work - it reports "32-bit APM interface not supported". Any suggestions how to resolve this?
Back to top
View user's profile Send private message
mean
Guru
Guru


Joined: 25 Sep 2002
Posts: 313

PostPosted: Sat Mar 06, 2004 5:52 pm    Post subject: Reply with quote

As long as /proc/apm is there, you can use the app that came with
your window manager to read it

For example kde or xfce
Back to top
View user's profile Send private message
rhale314159
n00b
n00b


Joined: 14 Dec 2003
Posts: 41
Location: East US

PostPosted: Sat Mar 06, 2004 7:45 pm    Post subject: battery status on iBook G4 Reply with quote

Hi!
Check /proc/apm. This file has the battery status.
If you are running KDE there is a program called klaptop
that will use this file to display bat. status on the KDE panel. Check out K->settings->control center->power control->laptio battery
Back to top
View user's profile Send private message
scruff
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2003
Posts: 142
Location: Boston, MA

PostPosted: Sun Mar 07, 2004 7:28 am    Post subject: Reply with quote

gkrellm2 has a battery meter. Works fine on my iBook.
_________________

AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ @ oc'd to 2.3ghz
DFI Lanparty UltraD nForce4 SLI
2x1gb Geil PC4000
GeForce 7800GT
Sound Blaster Audigy Platinum
200gb Maxtor DiamondMax 10
74gb WD Raptor 10k RPM
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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