DeviceStateMonitor wraps logic about different device state events like: battery state, thermal state, power mode so you can update your application logic accordingly.
[](https://travis-ci.org/Artur Kvaratshelia/DeviceStateMonitor)
To run the example project, clone the repo, and run pod install from the Example directory first.
DeviceStateMonitor is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'DeviceStateMonitor'The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the swift compiler.
https://github.com/dashdevs/DeviceStateMonitor.git
dashdevs LLC, hello@dashdevs.com
DeviceStateMonitor is available under the MIT license. See the LICENSE file for more info.