BatteryInfo
com.brother.ptouch.sdk.BatteryInfo
class stores the battery information.
Properties
batteryChargeLevel
Remaining battery power from 0 to 100 (%). -1
if not installed.
Declaration
final int batteryChargeLevel;
batteryHealthLevel
Battery deterioration level from 0 to 100 (%). -1
if not installed.
Declaration
final int batteryHealthLevel;
batteryHealthStatus
Battery deterioration state. You can know the numeric value via batteryHealthLevel
.
Declaration
final HealthStatus batteryHealthStatus;
Types
HealthStatus
The definition of battery deterioration state.
Declaration
enum HealthStatus { Excellent, Good, ReplaceSoon, // Need to replace battery soon ReplaceBattery, // Need to replace battery NotInstalled, // Battery not mounted }