Author Topic: lxde battery monitor in panel  (Read 3319 times)

lxlizard

  • Guest
lxde battery monitor in panel
« on: August 04, 2010, 09:15:57 PM »
Hello!

I am using pclos lxde on an ibm thinkpad a21m .

The battery monitor applet in the panel shows green when the laptop is plugged in and yellow when unplugged, but the percent never changes from 100%. Even when the battery is nearly completely drained.

I did this in terminal and got this in reply:


ls /sys/class/power_supply/
AC@ BAT0@

When using enlightenment the battery monitor works only if the internal box is checked, rather than the hal box. I'm tossing that out here because it might be relevant in some way. Also when using xfce, the battery monitor displays the correct percentage as well. But I prefer lxde on this old machine.

Is there a config file or something I can edit to get this sorted so the battery monitor in lxpanel can tell me how much battery I have left?

Thanks much!
« Last Edit: August 04, 2010, 09:23:16 PM by lxlizard »

Offline anlem

  • Full Member
  • ***
  • Posts: 127
Re: lxde battery monitor in panel
« Reply #1 on: August 04, 2010, 11:51:37 PM »
I'm not sure if there's much you can do, because from other forum posts I have read it's probably a bug in LXDE battery monitor which causes these issues. My solution was to install Screenlets from the repos and use its ACPI Battery meter. So far it has worked pretty well.
Acer Aspire 7530, AMD Athlon 64 X2 dual-core-processor, 250 GB HDD, PCLinuxOS KDE4-Minime

lxlizard

  • Guest
Re: lxde battery monitor in panel
« Reply #2 on: August 08, 2010, 10:31:10 PM »
ok.

Thank you for the suggestion.

Offline gingermcchic

  • New Friend
  • *
  • Posts: 3
Re: lxde battery monitor in panel
« Reply #3 on: August 20, 2011, 12:12:20 PM »
Thank you! This is a reasonable kludge for me. I now know that I have abotu 15 minutes before impending doom. I found a clue to the underlying problem here

http://www.zdnet.co.uk/blogs/jamies-mostly-linux-stuff-10006480/pclinuxos-lxde-20116-excellent-lightweight-10023035/

Any sage words of advice about the wisdom of following this gentleman's advice or any word on when we can expect a real fix?

Thank ya kindly,
Ginger

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: lxde battery monitor in panel
« Reply #4 on: August 20, 2011, 12:33:39 PM »
Hello, Ginger and welcome to PCLinuxOS. Are you asking about what the author had to say about cpufreq? If so, you may want to read this post by Texstar.   

Offline Ɗα√ϵς§

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5524
  • PCLinuxOS: A revolution in personal computing
Re: lxde battery monitor in panel
« Reply #5 on: August 20, 2011, 04:55:04 PM »
I've found that gnome-power-manager works in LXDE with no gnome overheads. It also enables the Brightness Up/Down buttons on both the machines I've tried it on.
PCLinuxOS has no wealthy sponsors and can only survive with your donations! Don't wait it might be too late.

Running PCLOS on Athlon II/250 with 2Gb Ram using ASUS M2N68-AM Plus Mobo with Nvidia GF7600GT graphics, and Samsung NC10 Netbook