Post

Replies

Boosts

Views

Activity

Better understanding of ThermalState API for an iOS device
Hi there, reading the ThermalState API, - https://developer.apple.com/documentation/foundation/processinfo/thermalstate I didn't found how exactly the state is been defined or measured from the an e.g. iPhone. I've following questions: What are the criteria here for classification into one of the four states? How much does the battery state (temp) have in the overall state? Any links and answers are appreciated
1
0
544
Apr ’21
Watching the ThermalState of iPhone and notify the user
I'm not very familiar with iOS development and I've a question for an use case that I want to implement and would like to get your feedback or input regarding the feasibility of the idea. I basically want to use/watch all the time the ThermalState - https://developer.apple.com/documentation/foundation/processinfo/thermalstate of an iPhone XR and want to notify via audio signals or notification or any other visuell signal if the State of the device is serious or critical. This App should run all the time. Is this use case possible to implement also regarding passing the approval of AppStore? Could I run an application that is started automatically after a reboot of a iPhone (kind of a system app)? Are there any better API to look for the state of an ios/iphone device in particular for battery state? background: I want to notify the a special user (engineer in a manufacture industry) when his iPhone is getting too hot (in particular: battery) in a special area where he isn't allowed to enter or should leave the area.
3
0
806
Apr ’21