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 --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.3.tar.gz
$ cd battery-notify-1.3
$ 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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: battery_notify-1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 3d65b42f280bfd95e2fd2243870f5214079209aea810175ce43e103b7cf27fec
MD5 3fb56b58a45bcc6f541299d497897f7f
BLAKE2b-256 94174182bf44e94d45ec66f19474b91db9d631b8467953594cf401a86a81de4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for battery_notify-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 53d18d4f8b90774d39c320d1c2ef11bed6b569939d9ed50e12e3ac9519f7b2d6
MD5 0d6569e98ec5496b3e0113c908468e65
BLAKE2b-256 0fe917f033f872b5ecb2ed09f1b856dfeb41f65e34ccf7aa86f5f6c2429d10f6

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