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.2.tar.gz
$ cd battery-notify-1.2
$ 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.2.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: battery_notify-1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d1be4df79d7dc6524bfd676973d1c330c01f160d860fe4859e01b924a1826fe1
MD5 f5065aaf4b3e2721d2dca19f2832b9fb
BLAKE2b-256 9d88baff726ae148ebe3ac9e7deafbb7bfa9446ad6059d6740e4e46fb7621dc8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for battery_notify-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7dacc53487d1ccbb6528ddf1d69777b83ed1d57727c41cd450e494dc0fc4b004
MD5 d9fe91b1c06c2ebaaf3bcded3be93c58
BLAKE2b-256 d05e7c909e226db2813df5279e27af02c4f73ee1d2e7ce52f2d68eb83ec32b33

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