Battery level indicator

Forum rules
Before you post please read how to get help
Level 4
Level 4
Posts: 265
Joined: Wed Oct 03, 2007 4:14 am
Location: France

Battery level indicator

Postby solar1951 » Sun Feb 03, 2008 8:55 am

Just installed fluxbox beta on an old Toshiba portege 7020CT with 128 mB ram and runs fine.
I have no experience with fluxbox as a WM so can someone indicate how I can add a battery indicator to the panel ?
Point to a wiki for instance ? Thanks in advance

Level 1
Level 1
Posts: 12
Joined: Mon Aug 27, 2007 1:06 pm
Location: London UK

Re: Battery level indicator

Postby Matchieu » Sun Feb 03, 2008 10:41 am

I had exactly the same problem at the beginning (which was a bit annoying as I was on battery and couldn't plug my laptop so I didn't know how much battery life I had left) but what I did, which is probably the simplest way (but maybe not the best one) is to install gnome-power-management that you can find in Synaptic.

And then everything will be sorted :D

Level 1
Level 1
Posts: 7
Joined: Fri Aug 15, 2008 5:53 am

Re: Battery level indicator

Postby Lutherian » Fri Aug 15, 2008 6:52 am

Hi, I see this post was from feb. so perhaps you guys have "moved on" but I wouldn't recommend using gnome utils - as it defeats the purpose of using a light system like fluxbox. My advice: Use a program called conky It's in the repos. Then edit a file called .conkyrc with the lines:

Code: Select all

${color black}BATTERY ${hr 2}$color
${color black}${execi 1 acpi}

Apart from this conky will also tell you:

How much memory,CPU is being used, download speeds, heck mine even tells me the news headlines and the weather - and it uses a very small amount of memory.

Return to “Others”