Skip to content

Commit de4c0c5

Browse files
committed
fix: reference ideapad_laptop kernel module in Readme
1 parent 38090d7 commit de4c0c5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,9 +646,9 @@ echo 95 > /sys/class/power_supply/BAT0/charge_start_threshold
646646
echo 100 > /sys/class/power_supply/BAT0/charge_stop_threshold
647647
```
648648

649-
### Lenovo_laptop conservation mode
649+
### Ideapad conservation mode
650650

651-
this works only with `lenovo_laptop` kernel module compatable laptops.
651+
This works only with laptops that have the `ideapad_laptop` kernel module.
652652

653653
add `ideapad_laptop_conservation_mode = true` to your `auto-cpufreq.conf` file
654654

auto_cpufreq/battery_scripts/ideapad_laptop.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
from typing import Any
44
from auto_cpufreq.battery_scripts.shared import BatteryDevice
55

6+
# The Arch wiki suggests this path may vary on different models, but TLP uses
7+
# the same hardcoded value
68
CONSERVATION_MODE_FILE = "/sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode"
79

810
class IdeapadBatteryDevice(BatteryDevice):

0 commit comments

Comments
 (0)