This script will wake up the battery monitor.  It looks like the problem
may actually be in upower.  The command is from an earlier thread on the
same bug from 9.10 (it was never fixed there either), with some tweaks
for the change to upower.

#!/bin/sh
# magic trick for waking up stuck gnome-power-manager battery monitor
dbus-send --print-reply --system --dest=org.freedesktop.UPower 
/org/freedesktop/UPower/devices/battery_BAT1 
org.freedesktop.UPower.Device.Refresh

-- 
shows "laptop battery is charged" at the same time as an almost-empty icon
https://bugs.launchpad.net/bugs/579513
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to