Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I need a battery indicator for my laptop.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
contraversy
n00b
n00b


Joined: 28 Apr 2012
Posts: 38

PostPosted: Sat Dec 01, 2012 5:54 am    Post subject: I need a battery indicator for my laptop. Reply with quote

Hello,

What can I install (or if the live dvd came with anything) to be able to see my laptops battery percentages?
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3601
Location: USA

PostPosted: Sat Dec 01, 2012 8:21 am    Post subject: Reply with quote

For Gnome, the default install includes gnome-power-manager, which when set right, puts an icon with charge state on your bar.

For CLI, acpitool in sys-power/acpitool will also report battery state.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4883

PostPosted: Sat Dec 01, 2012 8:35 am    Post subject: Re: I need a battery indicator for my laptop. Reply with quote

contraversy wrote:
Hello,

What can I install (or if the live dvd came with anything) to be able to see my laptops battery percentages?


almost all DEs has battery monitor, we need to know what DE are you using.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
contraversy
n00b
n00b


Joined: 28 Apr 2012
Posts: 38

PostPosted: Sat Dec 01, 2012 5:28 pm    Post subject: Reply with quote

I am using KDE, I am running a fresh install where I copied the live dvd to my system, (not a net-install or minimal install)

acpitool output:
Code:
acpitool
  Battery status : <not available>
  AC adapter     : <info not available or off-line>
  Thermal info   : <not available>
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3601
Location: USA

PostPosted: Sat Dec 01, 2012 6:38 pm    Post subject: Reply with quote

This would imply your kernel does not have ACPI battery support or you don't have the modules inserted. I tend to compile ACPI into the kernel as it seems to be fairly important to a lot of machines (for the "C" of ACPI).

First off before we go off track: what brand/model machine are we dealing with?

I only have worked with PC/x86/x86_64 ACPI BIOS which works correctly for most modern machines. All other systems, I have no clue... The "other" systems includes laptops whose ACPI BIOS/DSDT are programmed incorrectly and Linux's ACPI interpreter breaks on their firmware...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
contraversy
n00b
n00b


Joined: 28 Apr 2012
Posts: 38

PostPosted: Sat Dec 01, 2012 9:34 pm    Post subject: Reply with quote

Hey I didn't think of that, I can re build it with ACPI enabled.

*edit*

Rebuilt kernel with ACPI modules, working as expected! Thanks
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3601
Location: USA

PostPosted: Sat Dec 01, 2012 10:20 pm    Post subject: Reply with quote

Great!

Yeah it's unfortunate, the ACPI interpreter adds one heck of a lot of bloat to the kernel (did you notice your kernel size blow up?) It's huge... But I need it anyway for the "C" or Configuration part. Most newer machines with multicore or multithread require ACPI for Linux to use them anyway, and there are other stuff...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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