dynamic-power-profile

Crates.iodynamic-power-profile
lib.rsdynamic-power-profile
version0.1.1
created_at2025-09-20 00:58:49.851268+00
updated_at2025-09-20 01:13:09.2051+00
descriptionA daemon that monitors your power state and automatically adjusts your power profile.
homepagehttps://github.com/adamisrael/dynamic-power-profile
repositoryhttps://github.com/adamisrael/dynamic-power-profile
max_upload_size
id1847308
size46,059
Adam Israel (AdamIsrael)

documentation

README

Dynamic Power Profile

A small daemon that dynamically adjusts the power profile based on the system's power status. On battery power, it will switch to a lower power profile to conserve battery life. On AC power, it will switch to a higher power profile to maximize performance.

Installation

cargo install dynamic-power-profile

Systemd

Create a systemd service file in ~/.config/systemd/user/dynamic-power-profile.service:

[Unit]
Description=Dynamic Power Profile Service
After=network.target

[Service]
ExecStart=/home/myuser/.cargo/bin/dynamic-power-profile
WorkingDirectory=/home/myuser/
Restart=on-failure
RestartSec=5s

[Install]
WantedBy=default.target

and then enable and start the service:

systemctl --user enable dynamic-power-profile.service
systemctl --user start dynamic-power-profile.service
Commit count: 7

cargo fmt