Skip to content

Battery conservation Python script for ubuntu to enable battery conservation mode at 60% 80% or 90%

License

Notifications You must be signed in to change notification settings

david-kalbermatten/batteryconservation

 
 

Repository files navigation

Description

Batteryconservation is a small python script wich creates an appindicator for ubuntu which can be used to enable / disable battery conservation mode. It's also using notifications to let you know when the mode changes and it will update every 30 seconds automatically. Its limited to stop charging at 60%, 80% or 90% and disabled (charging normally), but you can easially expand those functions if you wish to. Please add the needed requirements. Make sure your user has write access to /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode else the application won't work

Application was tested with a Lenovo Yoga 7 14ACN6.

Setup

Run these commands to install the missing packages

sudo apt install gir1.2-appindicator3-0.1

Screenshots:

image

image

image

About

Battery conservation Python script for ubuntu to enable battery conservation mode at 60% 80% or 90%

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%