Battery threshold can not be set or changed after install because my notebook has not the default values.

On my Lenovo ThinkPad P16 gen 2 with Ubuntu 24.04 LTS it does not work immediately. It protests, that it did not find the default values and therefore it does nothing. As I remember I changed them at first the range of threshold in windows (to 70%-80%). So luckily I found a workaround. Just execute the gnome extension manager, call settings and there one may reset the preferences. Now it works without announced problems.

So there can be a simple solution. When it detects, that the notebook has not the default values, then simply ask if the user wants to reset to the default values, which can be changed afterwards. Or tool reads the new values from BIOS and asks the user if he changed them to these values and accepts the new values without changing as the default of the extension.

Thank you for this nice extension, so I do not have to usa a shell like bash in the terminal for changes or viewing. 😀