VectorLinux
November 28, 2014, 05:07:21 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: Power Manager / Battery charge monitor???  (Read 2506 times)
roxburd
Member
*
Posts: 12


« on: March 18, 2009, 12:57:55 pm »

Hi,

Running VL6.0 Std on Thinkpad T21.

I don't see any way to get VL to offer me anything at all in terms of monitoring the battery charge while the machine is running on the battery.

Apologies if I've been bumb and missed something. Any pointers much appreciated. I'd just like to know how much charge the battery has left in it so I know when to shutdown / go on mains power.

Also... I haven't figured out if the machine can suspend. I see the VL Quit menu doesn't offer it. Can VL do suspend? Or is it a BIOS function I can enable/trigger somehow?

Thanks,
Dave
Logged
M0E-lnx
Administrator
Vectorian
*****
Posts: 3192



« Reply #1 on: March 18, 2009, 01:09:35 pm »

Right-click on the panel -> add new item -> type in "Battery" -> Select battery icon -> Click "Add" -> Enjoy Wink
Logged

wcs
Packager
Vectorian
****
Posts: 1144


« Reply #2 on: March 18, 2009, 04:49:36 pm »

Quote
Also... I haven't figured out if the machine can suspend. I see the VL Quit menu doesn't offer it. Can VL do suspend? Or is it a BIOS function I can enable/trigger somehow?

Try this is a terminal, as root:
Code:
hibernate

or, alternatively to suspend, rather than hibernate:
Code:
hibernate -F /etc/hibernate/ram.conf

Note that you have to have to tell LILO to use your swap partition to hibernate, if you haven't already... In /etc/lilo.conf, put the "resume=/dev/sda2" in the append line for your Vector boot option. (substituting the device for whatever your swap partition is).

If it works, you can assign those commands to keys, or something like that, to make things easier... for instance, I have the suspend command going when I close the laptop lid.
Logged
wcs
Packager
Vectorian
****
Posts: 1144


« Reply #3 on: March 18, 2009, 04:54:47 pm »

Just one more thing: if you have to edit lilo.conf, you need to run lilo -v as root to get the new settings going.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!