Battery Error #25

Closed
opened 11 months ago by JorwLNKwpH · 3 comments

After charging the battery, the battery module displays 0%. Attached a screenshot of what this looks like.

Starting a new yambar instance displays 100% full.

After charging the battery, the battery module displays 0%. Attached a screenshot of what this looks like. Starting a new yambar instance displays 100% full.
Owner

Hmm, tricky one. I definitely am not seeing that on my two laptops. Can you do a ls -l in /proc/<main-pid-of-yambar>/fd/ when yambar is in that state?

I assume you have colors enabled in ls? Can you take a screenshot, to preserve them?

Hmm, tricky one. I definitely am not seeing that on my two laptops. Can you do a `ls -l` in `/proc/<main-pid-of-yambar>/fd/` when yambar is in that state? I assume you have colors enabled in ls? Can you take a screenshot, to preserve them?
dnkl added the
bug
question
labels 11 months ago
Poster

I was about to say I don't know how to reproduce this, but then it happened again ;)

I was about to say I don't know how to reproduce this, but then it happened again ;)
Owner

sigh... all looks normal. All expected files are there and appears to be valid. I guess one thing we can try is to close and re-open all battery related files every time we poll.

I'm in the middle of something else right now, that is likely to take some time to finish (dnkl/foot#263). But once I'm done with that, this should be a fairly quick thing to test.

*sigh*... all looks normal. All expected files are there and appears to be valid. I guess one thing we can try is to close and re-open **all** battery related files _every_ time we poll. I'm in the middle of something else right now, that is likely to take some time to finish (https://codeberg.org/dnkl/foot/pulls/263). But once I'm done with that, this should be a fairly quick thing to test.
dnkl removed the
question
label 11 months ago
dnkl closed this issue 11 months ago
dnkl referenced this issue from a commit 11 months ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.