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.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

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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