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:
@@ -145,8 +145,9 @@ export component PageSystem inherits Rectangle {
|
||||
minimum: 20;
|
||||
maximum: 100;
|
||||
has_reset: false;
|
||||
value <=> SystemPageData.charge_control_end_threshold;
|
||||
value: SystemPageData.charge_control_end_threshold;
|
||||
released => {
|
||||
SystemPageData.charge_control_end_threshold = self.value;
|
||||
SystemPageData.cb_charge_control_end_threshold(Math.round(SystemPageData.charge_control_end_threshold))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user