It is currently Sun Apr 23, 2017 7:51 pm



Welcome
Welcome to antiX-forum.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. Registration is fast, simple, and absolutely free, so please, join our community today!


Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Battery monitor
PostPosted: Wed May 21, 2008 11:40 am 
Offline
User avatar

Joined: Tue May 20, 2008 10:05 pm
Posts: 9
I'm loving antiX M7.2 but I'm new to Fluxbox and wondered if there's any way of getting a graphical display/applet showing the battery level in my Inspiron laptop.
I know it's possible to add a battery monitor to Conky, but I'd prefer something that sits on the panel or the bar along the bottom.
Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Fri Sep 19, 2008 10:40 pm 
Offline
User avatar

Joined: Thu Sep 18, 2008 5:06 pm
Posts: 29
Location: /USA/MI/Detroit/home
Bump!

I too would like to have a system tray battery monitor so I can see it when I've got GUI apps open fullscreen. I've been Googling around a bit for something that won't require me to install half of KDE or Gnome in libraries, but haven't found much. I'll keep looking, but figured if anyone knew, this would be the place to ask. ;)


sleepy

_________________
Image

"The road of life is rocky, and you may stumble too. So while you point your finger, someone else is judging you." --Bob Marley


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Sat Sep 20, 2008 1:46 am 
Offline
User avatar

Joined: Sun Oct 07, 2007 5:16 pm
Posts: 1520
Location: Canada's South Coast
xbattbar-acpi

It puts a thin bar at the bottom of your screen. Green if plugged and turns red and shrinks if on battery to show use.

_________________
eriefisher

Image

The Home of eriefisher erie's blog


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Sat Sep 20, 2008 4:33 am 
Offline
User avatar

Joined: Thu Sep 18, 2008 5:06 pm
Posts: 29
Location: /USA/MI/Detroit/home
Thanks erie!

I've installed it and it's running, but something's a bit off. The bar is orange, and when I mouse over it, the text says 'no battery'...but when I pull out the power cord, the laptop stays on and the screen dims, etc.

The BIOS says that the battery needs to be calibrated, so I'll try that overnight tonight and see if it helps.


sleepy


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Sat Sep 20, 2008 1:35 pm 
Offline

Joined: Sat Sep 29, 2007 8:12 pm
Posts: 1081
Location: California
You could try installing "gnome-power-manager" from the repos. It does pull in a modest amount of depends, though. Here's a link:

http://www.gnome.org/projects/gnome-power-manager/

john


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Sat Sep 20, 2008 3:57 pm 
Offline
User avatar

Joined: Thu Sep 18, 2008 5:06 pm
Posts: 29
Location: /USA/MI/Detroit/home
Thanks OU812!

I've installed gnome-power-manager, and it is working great. It only pulled in about 5 or 6 other gnome packages which isn't too bad since monitoring battery life is kind of important on a laptop. :P

erie-

The BIOS battery calibration was successful, but xbattbar-acpi is still orange and the mouse-over text still says 'no battery'. I didn't see anything too helpful in the conf file either. Thanks anyway for the suggestion! :|



sleepy

_________________
Image

"The road of life is rocky, and you may stumble too. So while you point your finger, someone else is judging you." --Bob Marley


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Sat Sep 20, 2008 7:56 pm 
Offline

Joined: Sat Sep 29, 2007 8:12 pm
Posts: 1081
Location: California
Cool! Glad to help. I had it running once or twice on my old laptop.

john


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Sun Apr 18, 2010 3:41 am 
Offline

Joined: Sun Apr 18, 2010 3:40 am
Posts: 2
Hi,

I tried both methods suggested here, but nothing shows up on my screen. Anyone had any success with getting a battery monitor to work on antiX?

Ben


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Sun Apr 18, 2010 1:53 pm 
Offline

Joined: Sun Jun 15, 2008 2:56 pm
Posts: 1228
Location: São Paulo / Brazil
rokytnji, a forum fellow, has posted something about displaying the battery status in Conky.

post11876.html#p11876
post9766.html#p9766
post9201.html#p9201


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Tue Apr 20, 2010 3:29 pm 
Offline

Joined: Sun Apr 18, 2010 3:40 am
Posts: 2
Hi,

I have xbattbar installed, but when I installed it, I got a 255 error, and when I mouse over it, all I ever get is "AC on-line: battery level is -1%" whether I have the power cord plugged in or not.

Weird.

Ben


Top
 Profile  
 
 Post subject: Re: Battery monitor
PostPosted: Tue Apr 20, 2010 3:46 pm 
Offline

Joined: Sun Jun 15, 2008 2:56 pm
Posts: 1228
Location: São Paulo / Brazil
blingenfelter, I don't have a laptop but you could try to set it up in Conky (if you use it): http://mepislovers.org/showthread.php?t=26272
or you may try the following line in ~/.icewm/preferences
Code:
#  Show APM/ACPI/Battery/Power status monitor on task bar
TaskBarShowAPMStatus=1 # 0/1

Then restart IceWM for it to take effect (Menu > Exit.. > Restart IceWM)

-edit- these are the apm options in /usr/share/icewm/preferences (copy them to ~/.icewm/preferences so it's easier to edit):

Code:
#  Show APM/ACPI/Battery/Power status monitor on task bar
# TaskBarShowAPMStatus=0 # 0/1

#  Show APM status on task bar in time-format
# TaskBarShowAPMTime=1 # 0/1

#  Task bar clock/APM uses nice pixmapped LCD display (but then it doesn't display correctly in many languages anymore, e.g. for Japanese and Korean it works only when a real font is used and not the LEDs
# TaskBarClockLeds=0 # 0/1


# ApmFontName="-*-monospace-medium-r-*-*-*-140-*-*-*-*-*-*"


# ApmFontNameXft="monospace,Bitstream Vera Sans Mono:size=12"

#  Background of APM monitor, leave empty to force transparency
# ColorApm="rgb:00/00/00"

#  Textcolor of APM monitor
# ColorApmText="rgb:00/FF/00"

I think you should also uncomment the color lines. And there are specific lines for battery:
Code:
#  Delay between power status updates (seconds)
# BatteryPollingPeriod=10 # [2-3600]

#  List of battery names (directories) in /proc/acpi/battery to ignore. Useful when more slots are built-in, but only one battery is used
# AcpiIgnoreBatteries=""


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
suspicion-preferred