-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 04/13/12 11:30, Michael Biebl wrote: > > upower provides mechanisms, not policy, like what to do on low-power, > lid-close, any-other-type-of-power-event. Those are triggered by a policy > agent running in the desktop session, like gnome-power-manager. >
That is exactly what I want to verify on the command line. I don't want to drain the laptop battery and hope for gnome-power-manager (just as an example), but to send the appropriate message to upowerd. I understand that there are some 160+ chars dbus-send command lines for this, but this is pretty inconvenient. upower could do this. It already talks with upowerd. This might be just a small extension. > I'm only guessing here, since it is not clear to me what you actually want, > but maybe it is such a powermanagement policy agent for the console session. > But that also means you need to setup (manually) a proper dbus session, a > ConsoleKit and PolicyKit context on the console. > Of course I would like to have this power management, policykit and consolekit stuff working independent from somebody running a blessed GUI, but this is OT here. Regards Harri -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAk+IaDsACgkQUTlbRTxpHjfdjQCfbaJUhtaZ2hZFyjfLYEq/Q6mw zLMAoIsaYTtnVbf1ZMeyWRBJOFl0N6zY =CCL+ -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

