Skip to main content

Battery notification applet for informing about battery status.

Project description

About

A battery monitor and notification app with sound for Linux systems.

Usage

$ battery-notify start
battery-daemon starting...
started.

$ battery-notify stop
battery-daemon stopping...
stopped.

$ battery-notify status
battery-daemon is not running.

$ battery-notify info
Battery level is: 97.67%
Battery usage time left: 2:03:17
Battery status: discharging
Charger plugged: off

Install

$ pip install battery-notify

Install the data

Download the source code, unzip it, go into the source directory and run:

$ tar xvf battery-notify-1.0.tar.gz
$ cd battery-notify-1.0
$ python3 data.py install

Uninstall

$ pip uninstall battery-notify

$ python3 data.py uninstall 

Config file

/etc/battery-notify/config.toml

XDG desktop file

/etc/xdg/autostart/battery-notify.desktop.sample

Pidfile

$HOME/.run/battery-notify.pid
$HOME/.run/music_player.pid

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

battery_notify-1.1.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

battery_notify-1.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file battery_notify-1.1.tar.gz.

File metadata

  • Download URL: battery_notify-1.1.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for battery_notify-1.1.tar.gz
Algorithm Hash digest
SHA256 d3df17b7d46b07eab1018840f245940fca1605c67c211ccbd68fff8cbda04f82
MD5 515eb0b63a5bba78a73e24142d249b04
BLAKE2b-256 e4650b43caa9fadef7e0b4e070170fdb451084fa15d48bd275f59eae45e1aa48

See more details on using hashes here.

File details

Details for the file battery_notify-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for battery_notify-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc86dfd9198628b4ec9095efec9bed9d2688761c3c8026224d592c23f666ff44
MD5 eb83dbde424bbe1c54fcf584d6e7db26
BLAKE2b-256 26b621221a961613c5dd04570c5554d0b43bc2e689a4b1d6b6ff0034e84b4cdf

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