ContentsIndex
PreviousUpNext
Power Management
Topics | Functions | Structs, Records, Enums
Description

Allows shutting down and rebooting the system, also provides battery and charging information.

Introduction

The power module provides basic APIs for system shutdown and reboot. There are also APIs for querying the current battery charging status and current battery level.

Limitation

N/A

Group
Functions
Function 
Description 
Get a calculated battery level. This battery level is calculated based on the battery voltage and then feed to an algorithm to ensure the level is monotonically decreasing. 
Get the current battery charging status. 
LCD module enter sleep mode. 
LCD module leave sleep mode. 
Reboot the system. The system will restart after normal shutdown flow, there is no need to press the power key. The applcation does not receive VM_EVENT_QUIT event. Therefore developers should ensure vital information are stored properly before calling this function. 
this interface will set device auto power on option, include time and check rules. the option will not save always, you need set it again after device reboot. 
Shutdown the system. The shutdown flow will uninitialize the LinkIt runtime directly. The applcation does not receive VM_EVENT_QUIT event. Therefore developers should ensure vital information are stored properly before calling this function. 
Structs, Records, Enums
Struct, Record, Enum 
Description 
scheduled startup option 
Links
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.