Tiny power manager written in Rust
Go to file
Lucien Cartier-Tilet 5065c61e92
Better declaration of PumoPM’s arguments, add verbosity parameter
2020-08-10 19:57:40 +02:00
src Better declaration of PumoPM’s arguments, add verbosity parameter 2020-08-10 19:57:40 +02:00
.gitignore initial commit 2020-08-10 18:26:41 +02:00
Cargo.lock Better declaration of PumoPM’s arguments, add verbosity parameter 2020-08-10 19:57:40 +02:00
Cargo.toml Better declaration of PumoPM’s arguments, add verbosity parameter 2020-08-10 19:57:40 +02:00
README.org initial commit 2020-08-10 18:26:41 +02:00

README.org

About PumoPM

The Pumo Power Manager (PumoPM for short) is a custom power manager I wrote for myself in order to have a lightweight one that does exactly what I want, how I want. Basically: I want to be informed of a low level of battery (I consider 25% to be low, hence the defaults), very low (again, my preference is at 15%), and then at critical level (10%) I want the computer to automatically sleep, and if it stays asleep for a certain duration it will be suspended.

This project is written for a GNU/Linux operating system running with systemd. I have currently no plan on making it available on other platforms, except maybe one day with Guix (if you dont value your time, take a look at it, its an awesome operating system, much better than NixOS in my opinion).

Built with

https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg

PumoPM is written in pure, stable Rust (at least >= 1.45.2). Its only two dependencies are the crates battery and notify-rust.

What does Pumo mean?

Its my cats name.

Getting started

To run the project, you currently only have one option: download the projects source code, compile it, and run it. You will need to have Rust installed. Update your Rust installation if needed with rustup update. Then, simply begin with a git clone, then cd into the projects directory. You can then build the project with cargo, and even install it locally if you want to.

  $ git clone https://labs.phundrak.com/phundrak/pumopm
  $ cd pumopm
  $ cargo build --release
  $ cargo run --release # to run the project
  $ cargo install # optional, to install for the user the project

Usage

Roadmap

Contributing

License