0
iPhone/iPad 배터리 용 Mha의 데이터 용량을 알고 싶습니다. 앱 스토어에 넣을 응용 프로그램에 넣은 다음 IOKit을 사용할 수 없습니다. 이 값을 얻는 방법을 아는 사람이 있습니까? UIDevice Class ReferenceiPhone 배터리 용량 (mAH)
에서
iPhone/iPad 배터리 용 Mha의 데이터 용량을 알고 싶습니다. 앱 스토어에 넣을 응용 프로그램에 넣은 다음 IOKit을 사용할 수 없습니다. 이 값을 얻는 방법을 아는 사람이 있습니까? UIDevice Class ReferenceiPhone 배터리 용량 (mAH)
에서
batteryLevel
The battery charge level for the device.
@property (nonatomic, readonly) float batteryLevel
Discussion
Battery level ranges from 0.0 (fully discharged) to 1.0 (100% charged). Before accessing this property, ensure that battery monitoring is enabled.
If battery monitoring is not enabled, battery state is UIDeviceBatteryStateUnknown and the value of this property is –1.0.
Availability
Available in iOS 3.0 and later.
See Also
@property batteryState
@property batteryMonitoringEnabled
Declared In
UIDevice.h
는 당신이 앱에 당신이 모든 장치에 대한 모든 배터리 용량을 넣어 것 PLIST를 추가 장치 모델을 읽고 배터리의 percentange 및 전체 용량을 함께 얻을 수 있습니다 mah의 실제 값.
당신은 밀리 암페어 (mAH) –
을 의미합니다. :) ...... mAH – AleMal