# Android WakeLock [![Crates.io](https://img.shields.io/crates/v/android-wakelock.svg)](https://crates.io/crates/android-wakelock) [![Documentation](https://docs.rs/android-wakelock/badge.svg)](https://docs.rs/android-wakelock) ![License](https://img.shields.io/badge/license-MIT-blue.svg) Safe and ergonomic Rust bindings to the [Android WakeLock API](https://developer.android.com/reference/android/os/PowerManager#newWakeLock(int,%20java.lang.String)). Wake locks allow an app or service to keep an Android device's display or processor awake in order to complete some work. For more information about wake locks, see the official [Android guide](https://developer.android.com/training/scheduling/wakelock). ## [Documentation] Check the [documentation] for up-to-date usage and examples. ## License This library is licensed under the MIT license. See the [LICENSE](LICENSE) file for details. [Documentation]: https://docs.rs/android-wakelock