Fix/battery threshold setup (#136)

* refactor(battery-threshold): change setup to run script in terminal via sudo

* chore(battery-threshold): update dependencies

* docs(battery-threshold): update threshold.txt location description

* chore(battery-threshold): bump version
This commit is contained in:
Damian D'Souza
2026-07-28 21:12:15 -04:00
committed by GitHub
parent bd7d88dfee
commit 253668025d
4 changed files with 72 additions and 35 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
id = "damian-ds7/battery-threshold"
name = "Battery Threshold Control"
version = "1.0.0"
version = "1.0.1"
plugin_api = 3
author = "Damian D'Souza"
description = "Set the battery threshold for laptop batteries to extend battery lifespan"
license = "MIT"
icon = "battery-eco"
tags = ["hardware", "system", "utility", "bar", "panel"]
dependencies = ["test", "pkexec", "bash", "cat", "getent", "groupadd", "usermod", "udevadm", "chgrp", "chmod"]
dependencies = ["test", "sudo", "bash", "readlink", "cat", "getent", "groupadd", "usermod", "udevadm", "chgrp", "chmod"]
[[service]]
id = "service"