andrealufino / ALSystemUtilities

THIS REPO IS NO LONGER MAINTAINED! Check https://github.com/andrealufino/Luminous. This library provides a list of 80 methods to get every kind of system information!
MIT License
644 stars 126 forks source link

ALBattery remaining hours methods not working #13

Open kexoth opened 9 years ago

kexoth commented 9 years ago

Hey @andrealufino

ALBattery remaining hours methods don't work for me. As I saw the infoForDevice method returns nil on device & on simulator it returns the dictionary, but doesn't find the needed data & it returns in both situations "NS".

Tested on iPhone 5 with iOS 8.4, iOS & iOS Simulator with iOS 8.2.

It applies for all the methods listed:

Any idea why is that so, any changes in Apple's API maybe?

Thanks for the library,

@kexoth

andrealufino commented 9 years ago

Hey! What device are you using?


Andrea Mario Lufino iOS Dev & Expert http://about.aliosdev.com

andrea.lufino@me.com

Il giorno 23/lug/2015, alle ore 20:03, Aleksandar Kex Trpeski notifications@github.com ha scritto:

Hey @andrealufino https://github.com/andrealufino ALBattery remaining hours methods don't work for me. As I saw the infoForDevice method returns nil on device & on simulator it returns the dictionary, but doesn't find the needed data & it returns in both situations "NS".

It applies for all the methods listed:

  • (NSString *)remainingHoursForStandby;
  • (NSString *)remainingHoursFor3gConversation;
  • (NSString *)remainingHoursFor2gConversation;
  • (NSString *)remainingHoursForInternet3g;
  • (NSString *)remainingHoursForInternetWiFi;
  • (NSString *)remainingHoursForVideo;
  • (NSString *)remainingHoursForAudio; Any idea why is that so, any changes in Apple's API maybe?

Thanks for the library,

@kexoth https://github.com/kexoth — Reply to this email directly or view it on GitHub https://github.com/andrealufino/ALSystemUtilities/issues/13.

kexoth commented 9 years ago

I wrote you that one too: "Tested on iPhone 5 with iOS 8.4, iOS & iOS Simulator with iOS 8.2."

Thanks for the feedback.

ecler commented 9 years ago

Any luck with that?