iphone - Get battery level with higher accuracy than 5% -
our company developing iphone battery application.
i use below code battery level
uidevice *mydevice = [uidevice currentdevice]; [mydevice setbatterymonitoringenabled:yes]; float batterylevel = [mydevice batterylevel];
however accuracy of api 5%, example 0% 5% 10% 15%.....20% 95% 100%
the requirements of application demands 1% accuracy, example 1% 2% 3%...99% 100%
are there ways obtain level of accuracy?
i guess try interpolating between values, wouldn't accurate.
Comments
Post a Comment