Skip to main content

About

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

Usage

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

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

$ battery-notify status --daemon
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.4.tar.gz
$ cd battery-notify-1.4
$ 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-daemon.desktop.sample

Pidfile

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

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.4.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: battery_notify-1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 3c680ea2b38c19fa3d4ed3da55b0b78f571cc9ee9a96311e9ad68b33a044528b
MD5 098dd3c41acb272fb3ee52150c18e23a
BLAKE2b-256 4d65184f828b9462d64126dc347ae1d49352c036ca75f32d3305696f13355d02

See more details on using hashes here.

File details

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

File metadata

  • Download URL: battery_notify-1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.26.0

File hashes

Hashes for battery_notify-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5fe31a0184db4047f4a4aa2e7a19d1793ed4178c30a7b60741e26069e0f30604
MD5 2652ff766cf0059c1f9baf629b83aa9b
BLAKE2b-256 dcb4724a705d8e73d293f8e987aa01fc46ec25f9af4c103b3d36d202a6d84516

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.4 This release

2 files

1.3

2 files

1.2

2 files

1.1

2 files

1.0

2 files

Supported by

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