[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: power-manager not updating battery status - Debian Squeeze



On 14/07/12 16:06, ew wrote:
> Greetings,
> 
> Battery status is not updated after installing gnome-power-manager. 
> Battery status is not updated after installing xfce-power-manager.
> 
> xfce-power-manager has no activity while running top?  The time
> remains constant >
> 
> 1439 root      20   0 17772 6664 4900 S  0.0  1.4   0:00.51
> xfce4-power-man
> 
> /sys/class/power_supply/BAT0/charge_now is not updated unless user
> suspends or reboots.

Hi. This looks like an ACPI issue. I'm no expert in ACPI and the Linux
kernel, but have you tried updating the machine's BIOS to the latest
version?

Also, may I suggest reporting the result of running the command "udevadm
monitor --property" for several minutes after you unplug the power
adapter? Does it contain "change" events like the following?

KERNEL[88992.976211] change
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
ACTION=change
DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
POWER_SUPPLY_CHARGE_FULL=881000
POWER_SUPPLY_CHARGE_FULL_DESIGN=4400000
POWER_SUPPLY_CHARGE_NOW=852000

[...]

UDEV  [88992.982757] change
/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 (power_supply)
ACTION=change
DEVPATH=/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0
POWER_SUPPLY_CHARGE_FULL=881000
POWER_SUPPLY_CHARGE_FULL_DESIGN=4400000
POWER_SUPPLY_CHARGE_NOW=852000
POWER_SUPPLY_CURRENT_NOW=0

The result of the command "acpitool --battery" would also be useful as well.

You may also try posting your problem on the linux-pm mailinglist [1],
where the linux power management developers hang out.

[1] http://vger.kernel.org/vger-lists.html#linux-pm

Regards,
-- 
Adrian Fita


Reply to: