A GUI wrapper for setting battery charge limits on compatible Dell laptops. Written in Qt & Python
Note:
The program relies on kdesu
in order to bypass issues when launching the application as root. As a result users will need to configure their own GUI elevator by changing the sudo_elevator
variable in config.ini
to the appropriate command. Users with other desktop environments and systems may need to make some tweaks to the scripting in order to get it working.
- Install dell-command-configure from the AUR
- Use pip to install
pyq5
- Clone the repository https://github.com/TROFER/dell-charge-manager-gui.git
- Configure sudo gui elevator command in
config.ini
- Run dell-charge-manager.py file (Do not run as root, you will be prompted to grant it permissions when it launches)
- (Optional) Create a
.desktop
file in$./local/share/applications
to add it to the system applications menu
If you have any suggestions or improvements that could be made to the program, please let me know by creating an issue. https://github.com/TROFER/dell-charge-manager-gui/issues/new/choose