-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
on_ac_power possibly returning false when it should return true? #1
Comments
In the meantime, how can I change my |
Can you confirm if this is the reason for the behavior you're observing by running this on a bash shell? if on_ac_power ; then echo YES ; fi |
Lines 125 to 139 in ca281fc
Regardless I don't think that to be the case. If you've disabled Automatic suspend, |
Can you dump the output for this command? |
Uninstalling |
Thanks for the debugging steps and potential workarounds. I won't be in the office until Tuesday; I'll debug then and report back. |
|
|
from
|
Ooh, so a nasty hack would be on this machine to override |
Seems like these caveats apply for those that use desktops:
|
Sorry for all the comments, I'm bouncing from this to work and back. I found this bug report, which makes me think that the short term fix is either to rely on something else (override |
Nope, don't think I want to do that 😆
|
Hey sorry. i've been quite busy for the last two weeks. |
Your findings are definitely helpful. I'll implement the fix you suggested. I think I might also look into downgrading |
Also, I see you don't have |
Cool, I can do that. How do I do that? 🤣 |
Figured it out:
|
Current settings:
|
I'm hoping this workaround fixes your issue(for now). Regardless, this is a bug that requires fixing in general. |
So far so good! |
regolith-powerd/src/main.rs
Line 163 in ca281fc
I'm still trying to figure out why my desktop is suspending, and I think I've tracked it down to an issue with whatever is setting
on_ac_power
, though I'm not 100% sure.Here's the discussion as to why I'm looking into this.
How might I go about debugging this? I'm running Regolith 3.0 that was just released.
What's leading me to this is that
upower
viaDisplayDevice
that I use for i3status-rustbattery
block seems to be returning empty. I'm not sure if this is directly related, but it might be.The text was updated successfully, but these errors were encountered: