Ok so the Upower seems to do its job right now, with the changes in #32.
The messages on DBUS is accurate.
Now i only need to get gnome-power-manager to shut down when i reach critical, it responds correctly with its graphical symbols but newer shuts down.
I have disabled use_time_for_policy in the gconf-editor to see if it will react on percentages.
I have also increased the critical and action percentage a bit to see if that alllows it to shut down in a proper manner.
Doesn't work.
I'll see if there is a bug report on that behaviour.
Ok so the Upower seems to do its job right now, with the changes in #32.
The messages on DBUS is accurate.
Now i only need to get gnome-power-manager to shut down when i reach critical, it responds correctly with its graphical symbols but newer shuts down.
I have disabled use_time_for_policy in the gconf-editor to see if it will react on percentages.
I have also increased the critical and action percentage a bit to see if that alllows it to shut down in a proper manner.
Doesn't work.
I'll see if there is a bug report on that behaviour.