GithubHelp home page GithubHelp logo

og-matcha / battery-alert Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 146.28 MB

This is a battery alert application that notifies the user when the battery percentage reaches a certain threshold and the device is full of charge.

License: MIT License

Python 100.00%

battery-alert's Introduction

Battery-Alert

This is a battery alert application that notifies the user when the battery percentage reaches a certain threshold. It is built with Python using the psutil and plyer libraries and the PyQt5 library for the graphical user interface. The application runs in the system tray and allows users to configure the battery threshold and notification duration.

Installation

  1. Download the setup file.
  2. install the application.
  3. Maybe you can put it in the startup folder to strat it when the device turn on. (If you don't know how to set it, check here)

Usage

The Battery Alert application runs in the system tray and can be accessed by clicking on the application icon. The application allows users to configure the battery threshold and notification duration. It will send notification when the battery is lower than the threshold and the device is full of charge.

Configuring Settings To configure the settings, click on the settings icon in the application window. This will open a dialog where you can set the battery threshold and notification duration.

Starting and Stopping the Alert

To start the alert, click on the start button in the application window. The start button will change to a stop button when the alert is running.

To stop the alert, click on the stop button.

Exiting the Application

To exit the application, click on the Quit option in the system tray menu or click on the End Program button in the application window.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Example

Example

Example

Idea Reference

https://inprogrammer.com/battery-alert-python/

If you like this, please give it a star, any suggestion is welcome.

battery-alert's People

Contributors

og-matcha 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.