Comment 28 for bug 432598

Revision history for this message
In , Martin Pitt (pitti) wrote :

Earlier gnome-power-manager releases had two gconf keys

  /apps/gnome-power-manager/general/can_hibernate
  /apps/gnome-power-manager/general/can_suspend

to disable suspend/hibernate. Obviously this isn't a very clean approach. It would be much better if upower would actually take the policykit privileges into account for reporting the values to clients, so that gnome-power-prefs, gnome-session, and other clients would do the right thing and hide the suspend/hibernate options if the admin (or an OEM) disables those privileges through a .pkla file, or if the defaults simply change in the future.