PPRetailBatteryInfo Class Reference
Inherits from | PPRetailObject : NSObject |
---|---|
Declared in | PPRetailBatteryInfo.h |
Overview
BatteryInfo class contains information about the health of the device battery and the instant it was measured
percentage
The level of battery in percentage @readonly
@property (nonatomic, assign, readonly) int percentage
Discussion
The level of battery in percentage @readonly
Declared In
PPRetailBatteryInfo.h
isCharging
Indicates that the device battery is charging or charged @readonly
@property (nonatomic, assign, readonly) BOOL isCharging
Discussion
Indicates that the device battery is charging or charged @readonly
Declared In
PPRetailBatteryInfo.h
isLevelCritical
Indicates that the device battery is at Critical or less and not charging @readonly
@property (nonatomic, assign, readonly) BOOL isLevelCritical
Discussion
Indicates that the device battery is at Critical or less and not charging @readonly
Declared In
PPRetailBatteryInfo.h
isLevelUpdateCritical
Indicates that the device battery is at UpdateCritical or less and not charging @readonly
@property (nonatomic, assign, readonly) BOOL isLevelUpdateCritical
Discussion
Indicates that the device battery is at UpdateCritical or less and not charging @readonly
Declared In
PPRetailBatteryInfo.h
measuredOn
The time the battery information was retrieved @readonly
@property (nonatomic, strong, nullable, readonly) NSDate *measuredOn
Discussion
The time the battery information was retrieved @readonly
Declared In
PPRetailBatteryInfo.h
status
Status of the battery @readonly
@property (nonatomic, assign, readonly) PPRetailbatteryStatus status
Discussion
Status of the battery @readonly
Declared In
PPRetailBatteryInfo.h