AutoDarkMode / Windows-Auto-Night-Mode

Automatically switches between the dark and light theme of Windows 10 and Windows 11
GNU General Public License v3.0
7.62k stars 267 forks source link

Auto Dark Mode X keeps turning dark mode on and off during the day #286

Closed MariuxReloaded closed 3 years ago

MariuxReloaded commented 3 years ago

Describe the bug Auto Dark Mode X keeps turning dark mode on and off during the day.

Description I turned the light and dark mode scheduler on, based on my location data, in order to enable dark mode after sunset and disable it after sunrise. I've also enabled the "Enable dark mode when device is unplugged" option, which is disabled by default, since my device is a laptop, but I don't think this is connected to this issue.

Expected behavior Dark mode should be enabled only after sunset, instead of being turned on and off randomly many times during the morning and the afternoon.

Commit Hash and Version 10.0.0.26

Additional context Windows 10 Pro 21H1 19043.1266

Spiritreader commented 3 years ago

Please attach the service.log file

MariuxReloaded commented 3 years ago

Please attach the service.log file

Here it is 👍

service.log

Spiritreader commented 3 years ago

I've also enabled the "Enable dark mode when device is unplugged" option, which is disabled by default, since my device is a laptop, but I don't think this is connected to this issue.

It's definitely that. Please disable the "Enable dark mode when device is unplugged" setting for now.

Unfortuantely, this is nothing we can fix The event comes from Windows, so either something funky is going on with your installation, our your BMS is sending garbled information about the charge state.

MariuxReloaded commented 3 years ago

I've also enabled the "Enable dark mode when device is unplugged" option, which is disabled by default, since my device is a laptop, but I don't think this is connected to this issue.

It's definitely that. Please disable the "Enable dark mode when device is unplugged" setting for now.

Unfortuantely, this is nothing we can fix The event comes from Windows, so either something funky is going on with your installation, our your BMS is sending garbled information about the charge state.

Or maybe it's the Huawei PC Manager feature (my laptop is a Matebook X Pro 2018) called Smart Charge, which enables and disables charging according to my needs and my usage 🤔 However, perfect, now I've disabled it, thank you very much 👍😊