Metadata-Version: 2.1
Name: battery-notify
Version: 1.1
Summary: Battery notification applet for informing about battery status.
Keywords: dbus,notify,battery,desktop,status
Author-email: Dimitris Zlatanidis <dslackw@gmail.com>
Maintainer-email: Dimitris Zlatanidis <dslackw@gmail.com>
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Classifier: Development Status :: 5 - Production/Stable
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Desktop Environment
Classifier: Topic :: System :: Monitoring
Classifier: Topic :: System :: Hardware
Requires-Dist: python-daemon>=3.0.1
Requires-Dist: tomli>=1.2.2
Requires-Dist: psutil>=5.9.7
Requires-Dist: notify2>=0.3.1
Project-URL: Changelog, https://gitlab.com/dslackw/battery-notify/-/blob/main/CHANGELOG.md
Project-URL: Documentation, https://gitlab.com/dslackw/battery-notify/
Project-URL: Homepage, https://gitlab.com/dslackw/battery-notify/
Project-URL: Repository, https://gitlab.com/dslackw/battery-notify.git

## About

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

## Usage

```bash
$ 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

```bash
$ pip install battery-notify
```

## Install the data

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

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

## Uninstall

```bash
$ pip uninstall battery-notify

$ python3 data.py uninstall 
```

## Config file

```bash
/etc/battery-notify/config.toml
```

## XDG desktop file

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

## Pidfile

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

