Code Monkey home page Code Monkey logo

wake-lock's Introduction

Wake - Lock Service App

An Android application designed to maintain a persistent service with a wake lock, ensuring that specific tasks run without being interrupted by the system putting the device to sleep.

Features

  • Wake Lock Service: Ensures that the service keeps running without letting the device go into deep sleep.
  • Foreground Notification: Provides a visual indication that the service is running, complete with a cancel action to stop it.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/yash10019coder/Wake-Lock.git
  2. Open in Android Studio:

    Navigate to the directory and open the project in Android Studio. Build and run the application on an emulator or a real device.

Usage

  1. Start the Service: Service will be automatically started as you open the application.
  2. Notification: Once the service starts, a sticky notification will appear in the notification drawer, indicating that the service is running.
  3. Stop the Service: To stop the service, you can press the "Cancel" button on the notification.

Dependencies

  • Android SDK.
  • Kotlin standard library.

FAQs

  • What is a wake lock?

    A wake lock is a mechanism in Android that lets you signal the system to keep the device's screen and/or CPU on.

  • Why use this app?

    This app is useful for cases where you need to ensure a service/task runs uninterrupted by the device's sleep cycles.

Contributing

  1. Fork the project.
  2. Create your feature branch (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

License

Distributed under the GNU GENERAL Public License. See LICENSE for more information.


wake-lock's People

Contributors

yash10019coder avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.