Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).


  Search this Thread
Old 02-02-2008, 10:09 AM   #1
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Rep: Reputation: 16
Question No warning/action when battery is low


I have Ubuntu 7.10 installed on a Sony Viao vgn-fz21m (kernel 2.6.22-14-generic). It is running fine.

The biggest problem I have with it is that there is absolutely no action, warning or sound when the battery is low. The power-management is setup to hibernate when the battery is low, but no evail. I have also activated the acpi_cpufreq module but no difference.
Acpi set up looks ok to me:
ronald@rasmussen:~$ acpi -V
Battery 1: charging, 89%, 00:00:28 until charged
Thermal 1: ok, 44.0 degrees C
Thermal 2: ok, 44.0 degrees C
AC Adapter 1: on-line
ronald@rasmussen:~$ more /proc/acpi/battery/BAT0/info
present: yes
design capacity: 57720 mWh
last full capacity: 57720 mWh
battery technology: non-rechargeable
design voltage: 125580 mV
design capacity warning: 1000 mWh
design capacity low: 400 mWh
capacity granularity 1: 100 mWh
capacity granularity 2: 100 mWh
model number:
serial number:
battery type: LiOn
OEM info: Sony Corp.
ronald@rasmussen:~$ more /proc/acpi/battery/BAT0/alarm
alarm: unsupported
ronald@rasmussen:~$ more /proc/acpi/battery/BAT0/
alarm info state
ronald@rasmussen:~$ more /proc/acpi/battery/BAT0/state
present: yes
capacity state: ok
charging state: charging
present rate: 782100 mW
remaining capacity: 51630 mWh
present voltage: unknown
Does anybody have any hints on how to solve this?

Cheers, Ronald
Old 02-02-2008, 11:41 AM   #2
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Debian "Testing"
Posts: 6,105

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
There is some sony-specific stuff. I have a VGN-FS415M and I need the modules sonypi and sony_acpi.
Try lsmod | grep sony
Old 02-02-2008, 11:48 AM   #3
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
The power saving configurations and options should work (unless you face error messages), but they depend on the kernel module(s) that actually "do the job", so if those modules aren't loaded or don't work with your hardware, the "desktop software" (like battery monitor, actions you've configured, ...) doesn't work either. Warnings might be visible in logs or dmesg if things aren't working, but I'm not sure about them..

So, try to figure out which module(s) you need to have loaded, and load them. With some hardware different modules that work on the same matter might come in each other's way, so if you're facing trouble, make sure you're not using multiple modules for one matter if you don't need them do that. I haven't paid attention to this specific matter of power saving, but shortly said I mean: if you've got a sony-specific module to do something and a generic module to do the same something, and you need the sony module and it does what the generic would do if it could, unload (and blacklist) the generic module to give way to the sony-specific module.
Old 02-05-2008, 03:37 AM   #4
Registered: Sep 2003
Location: Amsterdam
Distribution: Mandrake 10.1/2006
Posts: 57

Original Poster
Rep: Reputation: 16
Hi Bouncher,

I'm pretty sure the the right modules are loaded OK because the battery monitor (both via terminal and the gui-applet) work fine and give the correct charge-%.

All that I really miss is a warning/alert/action when the battery is almost empty. I assume this action is generic and not hidden in some brand-specific driver, is it?

Cheers, ROnald


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Google & Firefox 2 Anti-Phishing Warning In Action LXer Syndicated Linux News 0 01-20-2007 11:12 PM
Low Battery notification in Gnome? burki Linux - Laptop and Netbook 4 03-11-2005 10:41 PM
loptop battery power warning wisdom Linux - Software 1 01-04-2005 12:48 PM
low battery life d4nr Linux - General 2 08-05-2004 04:49 AM
Low battery logout in Fedora fcp101 Linux - Software 0 07-23-2004 07:36 AM > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 03:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration