From 68b9975ad98b94a28ce2e2ca21316e603d464f1a Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Sun, 13 Oct 2013 02:46:32 +0200 Subject: daemon: Add CriticalPowerAction Paraphrasing from the configuration option: The action to take when "TimeAction" or "PercentageAction" above has been reached for the batteries (UPS or laptop batteries) supplying the computer. This is done 20 seconds after the warning-level variable got set to UP_DEVICE_LEVEL_ACTION has been set, to give the opportunity to front-ends to display a (short) warning. This is only implemented for the Linux backend, using logind. --- src/up-backend.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/up-backend.h') diff --git a/src/up-backend.h b/src/up-backend.h index 06ab7ea..71b074c 100644 --- a/src/up-backend.h +++ b/src/up-backend.h @@ -69,6 +69,7 @@ void up_backend_test (gpointer user_data); gboolean up_backend_coldplug (UpBackend *backend, UpDaemon *daemon); +void up_backend_take_action (UpBackend *backend); G_END_DECLS -- cgit v1.2.1