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 percentageDiscussion
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 isChargingDiscussion
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 isLevelCriticalDiscussion
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 isLevelUpdateCriticalDiscussion
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 *measuredOnDiscussion
The time the battery information was retrieved @readonly
Declared In
PPRetailBatteryInfo.h
status
Status of the battery @readonly
@property (nonatomic, assign, readonly) PPRetailbatteryStatus statusDiscussion
Status of the battery @readonly
Declared In
PPRetailBatteryInfo.h