Skip to content
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

Option to disable while screen is locked #98

Open
roele opened this issue Jan 9, 2018 · 8 comments
Open

Option to disable while screen is locked #98

roele opened this issue Jan 9, 2018 · 8 comments

Comments

@roele
Copy link

roele commented Jan 9, 2018

If KeepingYouAwake is active and the screen is locked (via TouchBar or CTRL+CMD+Q) it will never go to sleep possibly draining the battery while you're away from the machine. While the app works pretty well and as expected it would be great to have more control over such special use-cases.

@ionutandone
Copy link

This feature is present in the Caffeine.app which I've been using until recently. I was surprised to see my screen not turning off after locking the screen.

@mbroadhead
Copy link

I installed KeepingYouAwake so that it would keep my screens on when I lock my Mac. I have two large screens connected via USB-C -> HDMI. When you lock your Mac, all screens turn off. It takes them awhile to turn back on when you come back to your desk. KeepingYouAwake solves this for me by ensuring all screens stay on.

My preferred solution would be a few options:
[ ] Disable KeepingYouAwake when the screen is locked
[ ] Disable KeepingYouAwake when the screen is locked AND on battery power

@newmarcel
Copy link
Owner

That's interesting to read. For me personally it's actually the opposite: I throw my mouse into a screen corner to activate the screen saver (to lock my Mac) when I leave my desk. When I return I can simply unlock the machine without waiting.

So I can consider adding a nicely explained preference toggle to make this feature available. But first I have to research the correct system API for "lock" events to see if this is possible.

@nijave
Copy link

nijave commented Jul 3, 2019

That's interesting to read. For me personally it's actually the opposite: I throw my mouse into a screen corner to activate the screen saver (to lock my Mac) when I leave my desk. When I return I can simply unlock the machine without waiting.

So I can consider adding a nicely explained preference toggle to make this feature available. But first I have to research the correct system API for "lock" events to see if this is possible.

That's what I would want when plugged in but sleep when on battery (using my Mac is plugged in)

@renarsvilnis
Copy link

Highly want this feature, find it a bit annoying to disable at nights and enable it in the mornings, so all monitors aren't on.

@Atcold
Copy link

Atcold commented Jun 1, 2020

Sometimes, the Mac turns on at night (and brightens my room) but after a few seconds it turn back to sleep. If KeepingYouAwake is enable, it will never go back to sleep, and then it's me who wake up and has to press the Esc key.
Can we please disable this plugin when the screen is locked? Thanks.

@rnewman-stripe
Copy link

I was also used to this behavior with both Caffeine and Amphetamine: I want my screens to stay lit while unlocked, and to turn off while the machine is locked.

Any news on this issue, or anything we can do as users to help it happen?

@abjugard
Copy link

abjugard commented Feb 7, 2023

Since Caffeine is an AMD64 app and is no longer maintained I'm switching to KeepingYouAwake on my Apple Silicon machines, and I'm sure this will be true for many.

This feature is default in Caffeine.app and really should be in KeepingYouAwake as well for environmental reasons (there's pretty much zero benefit of the lock screen being displayed indefinitely right? It just wastes power).

@newmarcel What's the status on implementing this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants