Skip to content
This repository has been archived by the owner on Dec 22, 2023. It is now read-only.

ALBattery remaining hours methods not working #13

Open
kexoth opened this issue Jul 23, 2015 · 3 comments
Open

ALBattery remaining hours methods not working #13

kexoth opened this issue Jul 23, 2015 · 3 comments

Comments

@kexoth
Copy link

kexoth commented Jul 23, 2015

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:

  • + (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

@andrealufino
Copy link
Owner

Hey!
What device are you using?


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

[email protected]

Il giorno 23/lug/2015, alle ore 20:03, Aleksandar Kex Trpeski [email protected] 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 #13.

@kexoth
Copy link
Author

kexoth commented Jul 27, 2015

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
Copy link

ecler commented Aug 19, 2015

Any luck with that?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants