bool isBatteryPresent()
Detects whether the device has a battery or not.
Security
Trust Level Required: Low trust
Return
True if the device has a battery, false otherwise
Detects whether the device has a battery or not.
Trust Level Required: Low trust
True if the device has a battery, false otherwise