Skip to main content

A Python script to provide notifications of battery life

Project description

# Batmon

Batmon is a simple Python script that monitors battery usage on Linux and sends desktop notifications when the battery is low. It’s intended to improve the UX when using window managers like XMonad that don’t bring all of gnome’s conveniences. It uses notify-send to send notifications to the desktop.

## Usage ` pip install batmon ` Next, find your battery with ls /sys/class/power_supply/. Usually it’s BAT0. Then, in your .xmonadrc or similar, batmon [BATTERY] &. That’s it!

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

batmon-0.0.4.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

batmon-0.0.4-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file batmon-0.0.4.tar.gz.

File metadata

  • Download URL: batmon-0.0.4.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for batmon-0.0.4.tar.gz
Algorithm Hash digest
SHA256 f422ecc7f1b6d003afb1c51b9b0dcc91e7a268d028b268281a41b48d358e1502
MD5 92ce24c3f0aeb2128891d53c7b28b363
BLAKE2b-256 dcf687f5a82ab9d5e9e02bc11338d728df0b722ad3888628cdce1022ff3c10f3

See more details on using hashes here.

File details

Details for the file batmon-0.0.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for batmon-0.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 485493fb2be56cba0c17a42156d7492a4dc3bd5c2f9445a0fa4bdc4a55c1773e
MD5 85d2c669e0f2c5f69d8d64f5274b2bb6
BLAKE2b-256 cdd9b9e455c24634186278181332d983d845f860ddab9de2f2762649e2eee1b4

See more details on using hashes here.

Supported by

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