SebastianBecker2 / PowerPlanSwitcher

Tray-Icon tool to show the currently selected windows power plan, switch it manually and automatically.
MIT License
33 stars 4 forks source link

The "Battery Management" function does not save the settings properly. #21

Closed wuguo138428 closed 2 months ago

SebastianBecker2 commented 3 months ago

I'm not sure what you mean with "Battery Management" function. The only function that should save any settings should be the SettingsDlg::HandleBtnOkClick(...). I had a few issues with combo boxes being empty when there was no system battery (not a laptop). But that resulted in a crash and should be fixed in v1.1.0.0.

wuguo138428 commented 3 months ago

屏幕截图 2024-06-26 152640 Functions as shown does not save and take effect properly Reopening the settings after saving will restore the settings as shown in the picture

wuguo138428 commented 3 months ago
  1. There is an bug in lines 71 through 99 of "SettingsDlg.cs".
  2. There is a problem with the save read, Resulting in features not being implemented I have now modified "1." and am in the process of verifying "2."
SebastianBecker2 commented 2 months ago

I fixed the problem with the PowerScheme selection for AC and Battery. New release is here: https://github.com/SebastianBecker2/PowerPlanSwitcher/releases/tag/v1.2.0.0