| 
    Kodi Documentation 18.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <ConsoleUPowerSyscall.h>
  
Public Member Functions | |
| CConsoleUPowerSyscall () | |
| bool | Powerdown () override | 
| bool | Reboot () override | 
  Public Member Functions inherited from CUPowerSyscall | |
| CUPowerSyscall () | |
| bool | Powerdown () override | 
| bool | Suspend () override | 
| bool | Hibernate () override | 
| bool | Reboot () override | 
| bool | CanPowerdown () override | 
| bool | CanSuspend () override | 
| bool | CanHibernate () override | 
| bool | CanReboot () override | 
| int | BatteryLevel () override | 
| bool | PumpPowerEvents (IPowerEventsCallback *callback) override | 
| Pump power related events back to xbmc.  More... | |
  Public Member Functions inherited from CAbstractPowerSyscall | |
| int | CountPowerFeatures () override | 
  Public Member Functions inherited from IPowerSyscall | |
| virtual | ~IPowerSyscall ()=default | 
Static Public Member Functions | |
| static bool | HasConsoleKitAndUPower () | 
  Static Public Member Functions inherited from CUPowerSyscall | |
| static bool | HasUPower () | 
  Static Public Member Functions inherited from IPowerSyscall | |
| static IPowerSyscall * | CreateInstance () | 
| Called by power manager to create platform power system adapter.  More... | |
| static void | RegisterPowerSyscall (CreatePowerSyscallFunc createFunc) | 
Additional Inherited Members | |
  Static Public Attributes inherited from IPowerSyscall | |
| static const int | MAX_COUNT_POWER_FEATURES = 4 | 
  Protected Member Functions inherited from CUPowerSyscall | |
| void | UpdateCapabilities () | 
  Protected Attributes inherited from CUPowerSyscall | |
| bool | m_CanPowerdown | 
| bool | m_CanSuspend | 
| bool | m_CanHibernate | 
| bool | m_CanReboot | 
| CConsoleUPowerSyscall::CConsoleUPowerSyscall | ( | ) | 
      
  | 
  static | 
      
  | 
  overridevirtual | 
Implements IPowerSyscall.
      
  | 
  overridevirtual | 
Implements IPowerSyscall.