Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/curiousgecko/electric-ray
Lenovo Legion Rapid charge & Conservation [linux]
https://github.com/curiousgecko/electric-ray
acpi archlinux battery battery-management-system lenovo-legion pyside6 python3 qt6
Last synced: 2 months ago
JSON representation
Lenovo Legion Rapid charge & Conservation [linux]
- Host: GitHub
- URL: https://github.com/curiousgecko/electric-ray
- Owner: CuriousGecko
- Created: 2023-12-02T17:15:32.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-13T00:06:52.000Z (8 months ago)
- Last Synced: 2024-05-13T01:23:56.825Z (8 months ago)
- Topics: acpi, archlinux, battery, battery-management-system, lenovo-legion, pyside6, python3, qt6
- Language: Python
- Homepage:
- Size: 870 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Electric ray is a utility with a friendly GUI that will help extend the life cycle of your laptop's battery.
![screenshot.png](dev%2Fscreenshot.png)
![Python](https://img.shields.io/badge/Python-14354C?style=for-the-badge&logo=python&logoColor=white)
![Lenovo](https://img.shields.io/badge/lenovo-E2231A?style=for-the-badge&logo=lenovo&logoColor=white)
![Shell Script](https://img.shields.io/badge/shell_script-%23121011.svg?style=for-the-badge&logo=gnu-bash&logoColor=white)
![Arch](https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux&logoColor=fff&style=for-the-badge)
![Qt](https://img.shields.io/badge/Qt-%23217346.svg?style=for-the-badge&logo=Qt&logoColor=white)#### Features
- Turn on/off "Rapid charge".
- Activation of the "Conservation" mode.#### Description
The "Rapid charge" mode can be extremely useful when you need
quickly charge the battery and continue working. However, regular
using can significantly reduce battery life.
It is recommended to avoid using "Rapid charge" at every turn.The "Conservation" mode is designed to significantly slow down the process of
battery degradation, especially when the device use external power source most
of the time. When activated, battery charge will be limited up to 55-60% of its
capacity and the "Rapid charge" mode is automatically turned off.#### Tests
The application has been confirmed to work correctly on the following laptop
models:- Lenovo Legion 5-15ACH6H (2021, BIOS: GKCN60WW, GKCN64WW)
#### Installation
1. Clone the repository to a location you want:
```bash
git clone [email protected]:CuriousGecko/electric-ray.git
```
2. Go to the cloned repository folder:```bash
cd electric-ray
```
3. Copy the images folder to the source folder:```bash
rsync -a images src
```
4. Build and install the package:```bash
makepkg -si
```
5. Launch the application:```bash
electric-ray
```#### Technology
The project was developed in Python using the PySide6 framework.