History log of /system/nativepower/daemon/power_manager.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e4d4a81d6b56d66970f0332c6db2b898f60510c8 07-Oct-2015 Daniel Erat <derat@google.com> Support suspending the system immediately.

Add PowerManagerClient::Suspend(), which instructs
nativepowerman to write "mem" to /sys/power/state.

Bug: 24672953
Change-Id: Icd5d5e8a28a784d632a8e8b7168421acd92be1dd
/system/nativepower/daemon/power_manager.h
c2a4b05a931fbf3ecbf1915049b549b33dae8ba5 01-Oct-2015 Daniel Erat <derat@google.com> Support shutting down and rebooting.

Implement the shutdown and reboot Binder methods from the
IPowerManager interface.

Also introduce a new PowerManagerClient class within
libnativepower. Programs that wish to interact with the
power manager should instantiate it a PowerManagerClient and
then use it to issue commands to the power manager and to
create WakeLock objects.

Bug: 22122485
Change-Id: Id82d9221d7f90c18ae12221334e35ffd6e488e17
/system/nativepower/daemon/power_manager.h
77ca78c8d297564db431a5b3a9165e170bb7c72a 30-Sep-2015 Daniel Erat <derat@google.com> Add skeleton implementations of newly-added methods.

Add stub versions of IPowerManager methods that were just
added to BnPowerManager.

Bug: 22122485
Change-Id: Idc107b22ca4dcba146ed06e5ca78d630f46d8d03
/system/nativepower/daemon/power_manager.h
cb57344ce792f41e58bc476840a82eba14b0fde9 18-Sep-2015 Daniel Erat <derat@google.com> Add libnativepower and nativepowerman.

Add the skeleton of a C++ library and daemon that can be
used for power management by Brillo.

Bug: 22122485
Change-Id: I3769ecc3e7b43efc3e03af4afada48d570f56ef9
/system/nativepower/daemon/power_manager.h