DualSenseBatteryMonitor icon indicating copy to clipboard operation
DualSenseBatteryMonitor copied to clipboard

More of a Request

Open billCln opened this issue 5 months ago • 5 comments

Hi, I really like this battery monitor. Sometimes when I power down DS and power it back on later, the monitor shows error with battery time remaining and won't reset on its own. I have to close the battery monitor and relaunch. Then everything works again. Is it suppose to do that?

Also, do you think you can impliment to show the percentage of the battery? I think that would make it perfect. TA.

I'm using the pico 2w dongle, by the way.

billCln avatar Jun 10 '26 13:06 billCln

I'll take a look

PixelIndieDev avatar Jun 10 '26 13:06 PixelIndieDev

Question, I would like some clarification about

the monitor shows error with battery time remaining and won't reset on its own

Do you mean the bug as seen in the following screenshot, where the error code overlaps with the battery time remaining while the error code should be invisible again? Image

PixelIndieDev avatar Jun 10 '26 13:06 PixelIndieDev

I tried to reproduce the error code again, and I can't now. I do power off the dongle using a power switch on a USB hub, if that makes any difference. I kept getting that error so I ticked off a couple of settings and everything is working fine, now. Before, I was getting the error code and time left was blank and would not work until reloading the BatteryMonitor. The error code was not a overlap, but just the error code only.

This is my working setting now:

Image

Anyhow, an option for showing percentage would be great if possible.

billCln avatar Jun 10 '26 16:06 billCln

I have implemented the percentage showing. It will come in the next version.

I think I have encountered the bug a while back. Unfortunately it seems to be quite hard to trigger on purpose. I did find that the bug fixes itself the next time the controller battery goes down. Only the controllers tend to use a 0–8 step scale for the battery level. For the bug to fix itself, the controller needs to go down quite a bit before the battery level updates.

I have now implemented a "retry" that triggers next tick (~5 seconds wait max) for the application to retry saving. This causes the error to disappear when succesfull.

PixelIndieDev avatar Jun 10 '26 17:06 PixelIndieDev

I have released V5.3 which should fix your issue and add your requested enhancement.

PixelIndieDev avatar Jun 10 '26 17:06 PixelIndieDev