|
bool | CanSystemPowerdown (bool bAskUser=true) const |
| Check whether the system Kodi is running on can be powered down (shutdown/reboot/suspend/hibernate) without stopping any active recordings and/or without preventing the start of recordings scheduled for now + pvrpowermanagement.backendidletime. More...
|
|
◆ CanSystemPowerdown()
bool CPVRGUIActionsPowerManagement::CanSystemPowerdown |
( |
bool |
bAskUser = true | ) |
const |
Check whether the system Kodi is running on can be powered down (shutdown/reboot/suspend/hibernate) without stopping any active recordings and/or without preventing the start of recordings scheduled for now + pvrpowermanagement.backendidletime.
- Parameters
-
bAskUser | True to informs user in case of potential data loss. User can decide to allow powerdown anyway. False to not to ask user and to not confirm power down. |
- Returns
- True if system can be safely powered down, false otherwise.
The documentation for this class was generated from the following files: