You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a difference in behaviour of the USB and battery icon among 3 DIY devices I tried:
M5Stick Cplus: the battery and USB icons seem to work of while both on battery and on charge.
M5Stick Cplus2: the USB icon is always on (even with an unconnected device) and the battery icon doesn't show the thunder when on charge.
M5Stack Core2: the USB icon is always on (even with an unconnected device) and the battery icon always shows the thunder, even if on battery.
1 is V1.0.31-71 which I compiled myself; 2 and 3 are V1.0.31-28 from the blockstream FW flasher site.
Because of the difference in version, I downgraded 1 to V1.0.31-28 to check if it would gain the incorrect icon behaviour.
To my surprise, when I downgraded the M5Stick Cplus using the FW flasher site, it retained the initialized status, the settings and the correct icon behaviour it had before.
The issue I'm pointing out is just graphic as far as I can check; I say that because the USB data connection with the M5 devices is not that reliable anyway and I use to go wireless.
The text was updated successfully, but these errors were encountered:
andrea-dandrea
changed the title
UI: battery and USB icons not working properly
UI: battery and USB icons not working properly on DIY
Jan 12, 2025
Indeed - some diy devices have no way of getting battery charge or USB-connected information, as it depends on the hardware and the ancillary chips on the board.
From a quick look at the code here, it looks like m5stickcplus should support the full range of power and usb-connected functions.
Similarly looking here, it appears that stickplus2 supports a much smaller subset - yes I can see 'usb_connected' here is fixed at 'true'.
I noticed a difference in behaviour of the USB and battery icon among 3 DIY devices I tried:
1 is V1.0.31-71 which I compiled myself; 2 and 3 are V1.0.31-28 from the blockstream FW flasher site.
Because of the difference in version, I downgraded 1 to V1.0.31-28 to check if it would gain the incorrect icon behaviour.
To my surprise, when I downgraded the M5Stick Cplus using the FW flasher site, it retained the initialized status, the settings and the correct icon behaviour it had before.
The issue I'm pointing out is just graphic as far as I can check; I say that because the USB data connection with the M5 devices is not that reliable anyway and I use to go wireless.
The text was updated successfully, but these errors were encountered: