Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tray icon percentage frozen #64

Open
torpax opened this issue Jan 1, 2025 · 3 comments
Open

Tray icon percentage frozen #64

torpax opened this issue Jan 1, 2025 · 3 comments

Comments

@torpax
Copy link

torpax commented Jan 1, 2025

version: 2.16 / .net 9.0.0 / win-x64

Screenshot 2025-01-01 132718
The screenshot shows tray at 60% but the battery is actually at 9%. You have to exit and restart the program to get the correct value.

This problem only started after the recent update.

@torpax
Copy link
Author

torpax commented Jan 1, 2025

I have also noticed that it no longer sends notifications.

Plus it just froze with the following error:

You Found An Error

Battery Percentage Icon version 2.1.6 has run into an error. You can help to fix this by:

  1. Press Ctrl+C on this message

  2. Report the copied error at https://github.com/soleon/Percentage/issues

System.Runtime.InteropServices.COMException (0x88980406): UCEERR_RENDERTHREADFAILURE (0x88980406)

at System.Windows.Media.Composition.DUCE.Channel.SyncFlush()

at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet)

at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam)

at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)

at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OK

Is there a way to roll back to an older version which was working well?

@torpax
Copy link
Author

torpax commented Jan 2, 2025

It is not the same issue. The PC was not hibernating . The computer has been running for a couple of hours before the value freezes. You also cannot end the program and need to reboot the PC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@torpax and others