Skip to main content

An audio notification for battery's charge level

Project description

Balert is for all the lazy people (like me :P ) who don’t bother to check desktop notifications. Balert will say it clear and loud whenever your battery status goes below a default critical level or the level decided by you!

Build Status

Version

Build Status

Version

Demo

Click above for demo

Installation

Build from tar files

wget "https://pypi-hypernode.com/packages/source/B/Balert/Balert-1.0.5.tar.gz"
cd balert
python setup.py install

Using pip

pip install Balert

After installation is done successfully, run any combinations of below command in your terminal once for initial setup and then we are done! If you want to use the default setup then just run balert in terminal.

Default config:

language: English
rate    : 150
charge  : 20 (in percentage)
msg     : ""
vol     : 1.0

Usage

Set language

To set the language eg. hindi, english , tamil. Default one is english

balert -l hindi

Set rate of speaking

balert -r 100

Set your custom alert message

balert -m "Delta is the state of mind"

Set custom charge level.

If the battery level is below this critical level then only it will give a voice alert

balert -c 30

Get help

balert -h

Example

balert -m "Hey,Lazy dog " -c 25

When you run the above code, you’ve set “Hey,Lazy dog” as your custom message and 25 as your critical charge level.

Contributions

Have an idea to make it better? Go ahead! I will be happy to see a pull request from you! :)

License

gpl

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Balert-1.0.5.tar.gz (8.0 kB view details)

Uploaded Source

File details

Details for the file Balert-1.0.5.tar.gz.

File metadata

  • Download URL: Balert-1.0.5.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Balert-1.0.5.tar.gz
Algorithm Hash digest
SHA256 9dfa02f24aed69948bce569838f433464f4c672aad4d0fc164db5c5cdb990a0c
MD5 207e57c9d8683385fc1bc6375ee9d096
BLAKE2b-256 bdb339998d05fc8fc5ba22098e6af2676d74226c6c8006efb34d75d746517240

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page