d4nj1 / TLPUI

A GTK user interface for TLP written in Python
GNU General Public License v2.0
1.08k stars 83 forks source link

patched charge thresh to allow conservation mode #134

Closed Sparpvp closed 6 months ago

Sparpvp commented 1 year ago

From TLP version 1.4 to enable battery conservation mode on some vendor supported hardware the STOP_CHARGE_THRESH_BAT0 field needs to be set at '1' but the configschema denies values below 5.

The documentation reports:

Therefore, I have edited the configschema of TLP versions 1.4 and 1.5 to allow the value '1' on STOP_CHARGE_THRESH_BAT0 and '0' on STOP_CHARGE_THRESH_BAT1 like the docs do.

d4nj1 commented 6 months ago

Hi @Sparpvp , I have changed the format from JSON to YAML since you opened the PR. Please check if #146 is what you expect.

Thanks in advance

d4nj1 commented 6 months ago

Fixed in https://github.com/d4nj1/TLPUI/pull/146 and released in https://github.com/d4nj1/TLPUI/releases/tag/tlpui-1.6.4