JasonWei512 / EnergyStarX

🔋 Improve your Windows 11 device's battery life. A WinUI 3 GUI for https://github.com/imbushuo/EnergyStar.
https://www.microsoft.com/store/productId/9NF7JTB3B17P
GNU General Public License v3.0
906 stars 19 forks source link

​Seems like this application will block the automatic synchronization of time on Windows #44

Open M102NUS opened 1 year ago

M102NUS commented 1 year ago

Description / 描述

My laptop is Surface Pro X, and I downloaded this application from Microsoft Store. I turned on the automatic activate when Windows reboots and then leaving my computer shut dowm without charging. After a few days I turned on my laptop and found out that the time of my windows was frozen at a random moment. I clicked the button in settings to resynchronize the time, and restarted "Windows Time" Service, maked sure it was set on automatic. However, the same thing happened again in the next day. At first the time was shown at 23:52 of Feb.10th, then quickly changed into 14:52 of Feb.10th, but actually I was at 23:55 of Feb. 11th. Then I uninstalled Energy Star and reboot the computer, then everything went well. The time was corrected before being displayed.

Reproduction steps / 复现步骤

  1. Turn off the computer and leave it uncharged;
  2. turn on the computer after more than 24 hours;
  3. it happened.

Windows version / Windows 版本

Windows 11 22H2 22621.1105

Hardware specs / 硬件配置

Surface Pro X Microsoft SQ2 16GB / 512GB

Error log / 错误日志

No response

JasonWei512 commented 1 year ago

This is weird. Throttling Windows services is not implemented yet (https://github.com/JasonWei512/EnergyStarX/issues/38), so this app should not affect Windows Time Service.

M102NUS commented 1 year ago

Hi,

I’m making a list to find a regular of the bizarre time synchronization on my computer, to find out if Energy Star X is to be blamed. It will take some days to confirm. At the same time, Energy Star does slow down the rebooting progress on computers with suck processors such as SPX. The rebooting itself is fast though, the APPs which only run in background are much slower than rebooting without Energy Star. I can’t demand you but I really hope that there could be a specific version to improve Qualcomm Processors and make those who can save a lot of battery power, save more.

Sincerely, Miosnus

从 Windows 版邮件发送

发件人: JasonWei512 发送时间: 2023年2月13日 19:38 收件人: JasonWei512/EnergyStarX 抄送: M102NUS; Author 主题: Re: [JasonWei512/EnergyStarX] ​Seems like this application will block the automatic synchronization of time on Windows (Issue #44)

This is weird. Throttling Windows services is not implemented yet (#38), so this app should not affect Windows Time Service. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

M102NUS commented 1 year ago

Hello,

I got all I could, and it proved your application did effect on automatic time synchronization, at least on my own specific model. Maybe these data will help you improve your application. All of these records are in the situation that my computer was not in charged, which means all of them use battery power.

The first rebooting after I reported this problem on Github was 11:09am on 12th Feb. When the screen turned on, the time was stuck at 1:24am on 12th Feb., right about the time I turned off last night. But after I unlocked the computer and went into the desktop, the time was corrected into 11:09am with right date. I turned it off at 11:15am 12th Feb.

The second rebooting was at 11:51pm on 13th Feb. This time the time was not updated, neither in locked screen nor in desktop. I kept the wrong time and rebooted, then it was correctly fixed. At this moment I uninstalled the Energy Star X and turned off my computer at 11:59pm on 13th Feb.

The third rebooting was at 8:38pm on 14th Feb. I noticed that the time on the locked screen was correct, but it went wrong after I went to desktop. The time was synchronized into the time I turned off yesterday! (0:00am, 14th Feb.) Then I manually resynchronized the time, and the system showed the last time of auto synchronization was right on the time I turned off the computer.

The fourth rebooting was at 1108pm on 15th Feb. The time on the locked screen was hilariously wrong (4:06am at 16th Feb), but after I unlocked my computer the time went correctly, and finally at this time in the settings, the time was synchronized right after the reboot, which is what actually this service should function.

Since then the time synchorization has been perfectly functioning and everything goes back to normal.

To conclude these data, I have to say Energy Star does make greatly of effect on my computer, even after I uninstalled this App, it took the computer several times of rebooting to adjust it. I'm not a geek, I could find the problem but I'm not able to fix it. Windows Time is one of the function of "svchost.exe", but this file is in the whitelist of Energy Star, which means it shouldn't be effected at all. Anyway please keep attention on this problem while doing maintence for this App, it is good but unfortunately it also has fatal problem.

JasonWei512 commented 1 year ago

Could you add LockApp.exe to Energy Star X's process whitelist, and see if the bug still occurs?

M102NUS commented 1 year ago
  1. In most cases it effected both, only once it occurred on Lock Screen, leaving the taskbar worked fine. 2. I’m using Auto Dark Mode and Microsoft Computer manager, these 2 are the only bon-default apps that I’ve set on “activate with rebooting”, and they didn’t bring me any problem. 3. I’ll test it but it will take me some time. If this can work I’ll mention you. Sincerely, Miosnus 发自我的 iPhone在 2023年2月20日,20:04,JasonWei512 @.***> 写道:

Does Energy Star X affect only the time on lock screen, or the time on both lock screen and taskbar? Are you using any software that modifies or overrides the default Windows lock screen? Could you add LockApp.exe to Energy Star X's process whitelist, and see if the bug still occurs?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Artoria2e5 commented 1 year ago

Clock display not updating sounds like a different issue from time sync being toast. Recommend changing title.