Skip to content

Battery manager to handle system performance modes and charge modes through acpi_calls (for Ideapad Gaming 3 15ACH6)

License

Notifications You must be signed in to change notification settings

Theluga/Ideapad-Gaming-3-Battmngr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

ig3mngr

made for ideapad Gaming 3 license

Battery manager to handle system performance modes and charge modes through acpi_calls (for Ideapad Gaming 3 15ACH6).

Motivation

On Windows native software to support battery and performance operations exist, on GNU/Linux, it's possible to handle system performance modes and battery charge modes making acpi_calls manually. This script makes it easy to manage such operations.

Getting started

Prerequisites

In order to use ig3mngr the acpi-call module needs to be installed.

Installation

To install ig3mngr you only need to download the script, put it in a directory of your choice and then add it to your PATH.

Usage

 Usage: ig3mngr [OPTION] MODE
 Options:
	-h, --help		usage help
	-s, --set		set battery mode
	-sc, --set-charge	set charge mode
 Battery modes:
	0	Intelligent Cooling
	1	Extreme Performance
	2	Battery Saving	
	
 Charge modes:
	r1	Rapid Charge On
	r0	Rapid Charge Off
	b1	Battery Conservation On
	b0	Battery Conservation Off		

 Examples:
 	ig3mngr -s 1
	ig3mngr -sc b1
	ig3mngr -s 0 -sc r0 

Sudo

Since this requires sudo: You will be asked for a password when runnng this script that should elevate your privillges on the terminal until the timeout.

Contributing

ig3mngr seem to be working fine on the supported device, but only because ACPI calls values are publicly known.

If you know any way of discovering ACPI calls values for specific laptop models, please open an issue detailing your process. This could help supporting many more potentially compatible laptops.

Note

Note: turning Rapid Charge will disable Battery Conservation and vice-versa.

Issuing the command ig3mngr -sc r1 will turn on Rapid Charge mode but disable Battery Conservation mode.

License

This project is licensed under the GPL-3.0 License.

About

Battery manager to handle system performance modes and charge modes through acpi_calls (for Ideapad Gaming 3 15ACH6)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%