mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Bug fix: correctly set charge limit from UI
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
- Per-AC/DC, per-profile tunings enabled (Battery vs AC power + platform profile)
|
- Per-AC/DC, per-profile tunings enabled (Battery vs AC power + platform profile)
|
||||||
- Add ability to restore PPT defaults
|
- Add ability to restore PPT defaults
|
||||||
- Add PPT help dialogue to UI
|
- Add PPT help dialogue to UI
|
||||||
|
- Bug fix: correctly set charge limit from UI
|
||||||
|
|
||||||
## [v6.1.0-rc4]
|
## [v6.1.0-rc4]
|
||||||
|
|
||||||
|
|||||||
@@ -145,8 +145,9 @@ export component PageSystem inherits Rectangle {
|
|||||||
minimum: 20;
|
minimum: 20;
|
||||||
maximum: 100;
|
maximum: 100;
|
||||||
has_reset: false;
|
has_reset: false;
|
||||||
value <=> SystemPageData.charge_control_end_threshold;
|
value: SystemPageData.charge_control_end_threshold;
|
||||||
released => {
|
released => {
|
||||||
|
SystemPageData.charge_control_end_threshold = self.value;
|
||||||
SystemPageData.cb_charge_control_end_threshold(Math.round(SystemPageData.charge_control_end_threshold))
|
SystemPageData.cb_charge_control_end_threshold(Math.round(SystemPageData.charge_control_end_threshold))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user