|
sBatteryPercent
Battery Function Reference
This function retrieves the device's battery power level.
<DllImport("SapphireBattery.dll")> _
Public Function sBatteryPercent(ByVal lLicence As Integer) As Integer
End Function |
Parameters
| |
lLicence |
| |
|
An integer specifying the Sapphire Battery licence number. |
Return Values
| |
Returns an integer value specifying the percentage of the battery power between 0 and 100. If the percentage is 255, the battery is on charge. |
|