Releases: nikvoronin/Xm4Battery
Releases · nikvoronin/Xm4Battery
Nothing Else Matter
- Fix tray icon text position
- Add auto-start option to context menu
- Upgrade to .NET 10
Fixation
- Fixed tray icon scaling issues (primarily affecting Windows 11).
- Implemented forced garbage collection to prevent handler leaks and memory loss.
- Updated management library to the latest version.
- Resolved race condition between state retrieval and last connected time checks.
- Fixed type conversion errors.
Don't forget to charge dat
- When the headphones were disconnected and the last known battery level was low (30% or lower), the percentage sign
%was displayed instead ofX.
Void of Exceptions
Trying to fix rare app crashes
2024-08-29 18:41:25Z System.InvalidOperationException: Result is in status failed. Value is not set. Having: Error with Message='Entity not
found or wrong key. Exception when invoke method GetDeviceProperties', Reasons='ExceptionalError with Message='Not found ',
Exception='System.Management.ManagementException: Not found
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, InvokeMethodOptions options)
at WmiPnp.PnpEntity.GetDeviceProperty(String key)''
at FluentResults.Result`1.ThrowIfFailed()
at FluentResults.Result`1.get_Value()
at WmiPnp.Xm4.Xm4Poller.ThreadWorker(Object o)
Eight Ball
- Update to .NET 8
- Writes exception log if the app accidentally crashes.
256x256
Sharp Icons
Attempt to improve sharpness of the tray icon.
Backward Compatibility
- Backward compatibility with WH-* and *-XM3 series models
- Connect / disconnect already paired headphones from system tray icon (application have to run as administrator).


