Comment 17 for bug 579513

Revision history for this message
James Aspnes (aspnes) wrote :

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