exelban / stats

macOS system monitor in your menu bar
MIT License
23.25k stars 773 forks source link

"is charging" shows "no" while charging #1979

Closed alexander-potemkin closed 1 month ago

alexander-potemkin commented 1 month ago

Describe the bug My MacBook is charging, app shows voltage, but shows 'is charging' == 'no'. That is an old bug, I've just got my hands on reporting it.

Details:

Screenshot 2024-06-05 at 00 15 05
exelban commented 1 month ago

Don't see any problem here. 8W doesn't look like the battery is charging.

alexander-potemkin commented 1 month ago

@exelban , it's quite sufficient to charge notebook for a few hours thought... And shouldn't it be charging, if input != 0?

exelban commented 1 month ago

I don't know, it's macOS decides. But it looks ok for me.

alexander-potemkin commented 1 month ago

Ok, let's raise the bar up then :)

Screenshot 2024-06-06 at 11 57 41
alexander-potemkin commented 1 month ago

To rephrase - I have never seen this flag set to 'Yes'. However my Macbook has been definitely charging...

exelban commented 1 month ago

hmm, need to check if apple does not change their API. Because this value is from macOS.

alexander-potemkin commented 1 month ago

It seems like API might be alright - below is a screenshot from System Information app.

That's interesting...

Screenshot 2024-06-06 at 15 59 24
exelban commented 1 month ago

but you are looking at the app, not api

And according to that screenshot it's not charging)

exelban commented 1 month ago

I have checked on my MacBook and everything works fine.

alexander-potemkin commented 1 month ago

but you are looking at the app, not api

I believe the app uses API; does it not?

And according to that screenshot it's not charging)

My point exactly! It's launched with 100W cable connected at that moment.

I have checked on my MacBook and everything works fine.

Are you on Intel? Or it's M* laptop?

msulmanzig commented 4 weeks ago

hi @alexander-potemkin can you help me in this? if yes, kindly send a email at m.sulman@zigron.com https://github.com/element-hq/element-android/issues/7761

alexander-potemkin commented 2 weeks ago

@exelban , it seems like this API call / flag means that the battery is charging now. Below is a screenshot from the same laptop that is charging.

I believe it might be beneficial to rephrase the 'Is charging' to 'Now charging', just for such narrow cases of curiousity, like mine :)

Thanks anyway for the fantastic app and your support!

Screenshot 2024-06-18 at 11 06 27