Syntax
VMINT vm_pwr_get_battery_level();
ContentsIndex
PreviousUpNext
vm_pwr_get_battery_level
Syntax
VMINT vm_pwr_get_battery_level();
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.

Returns

Battery level in percentage. 

Depend on the target config, return value maybe one of (0,25,50,75,100) 

or one of (0,33,66,100).

File

vmpwr.h

Group
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.