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

[coffee] 'Caffeinate for' doesn't work if status bar is disabled #10823

Closed
efa2d19 opened this issue Feb 19, 2024 · 8 comments
Closed

[coffee] 'Caffeinate for' doesn't work if status bar is disabled #10823

efa2d19 opened this issue Feb 19, 2024 · 8 comments
Labels
bug Something isn't working extension: coffee Issues related to the coffee extension extension Issues related to one of the extensions in the Store status: stalled Stalled due inactivity

Comments

@efa2d19
Copy link

efa2d19 commented Feb 19, 2024

Extension

https://www.raycast.com/mooxl/coffee

Description

Noticed mac not going to sleep when I use coffee on long builds.
Tried to find why and status bar seems like the culprit.
When disabled - problems appears from time to time. If enabled - can't reproduce.

Steps To Reproduce

caffeinate is disabled; status bar is disabled

  • Open Raycast
  • Select 'Caffeinate for'
  • Select any time (e.g. 10 min)
  • cmd + enter
  • Check if caffeinate really started
    ( manually refresh status item w/ enter or ps aux | grep caffeinate )

Current Behaviour

Failed to start/no caffeinate process

Expected Behaviour

Started w/ specified time

@efa2d19 efa2d19 added bug Something isn't working extension Issues related to one of the extensions in the Store labels Feb 19, 2024
@raycastbot raycastbot added the extension: coffee Issues related to the coffee extension label Feb 19, 2024
@raycastbot
Copy link
Collaborator

raycastbot commented Feb 19, 2024

Thank you for opening this issue!

🔔 @mooxl @bibixx @GastroGeek @pernielsentikaer you might want to have a look.

💡 Author and Contributors commands

The author and contributors of mooxl/coffee can trigger bot actions by commenting:

  • @raycastbot close this issue Closes the issue.
  • @raycastbot rename this issue to "Awesome new title" Renames the issue.
  • @raycastbot reopen this issue Reopen the issue.

@efa2d19
Copy link
Author

efa2d19 commented Feb 19, 2024

probably related to or part of #10729 tho

@efa2d19 efa2d19 changed the title [coffee] Caffeinate for doesn't work if status bar is disabled [coffee] 'Caffeinate for' doesn't work if status bar is disabled Feb 19, 2024
@pernielsentikaer
Copy link
Collaborator

pernielsentikaer commented Feb 20, 2024

@oasaleh do you have this issue? I checked it out and couldn't reproduce 🫠

@oasaleh
Copy link
Contributor

oasaleh commented Feb 20, 2024

It seems to be working for me.

I disabled the status bar icon and decaffeinated my MacBook. Then, I checked the processes using ps aux | grep caffeinate. I found this one.

omar             55773   0.0  0.0 408626944   1424 s001  S+    7:10AM   0:00.00 grep caffeinate

Then I caffeinated for 10 mins. Here are the processes I found.

omar             55860   0.0  0.0 408626944   1424 s001  S+    7:14AM   0:00.00 grep caffeinate
omar             55849   0.0  0.0 408555216   6064   ??  S     7:14AM   0:00.01 /usr/bin/caffeinate -dmi -t 600

@oasaleh
Copy link
Contributor

oasaleh commented Feb 20, 2024

By the way, I have these checked.
Screenshot 2024-02-20 at 7 19 51 AM
Screenshot 2024-02-20 at 7 20 16 AM

@efa2d19
Copy link
Author

efa2d19 commented Feb 21, 2024

By the way, I have these checked

Also have the same settings
Can you check what happens on repeatedly toggling on and off "caffeinate for"?

@raycastbot
Copy link
Collaborator

This issue has been automatically marked as stale because it did not have any recent activity.

It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊

@raycastbot raycastbot added the status: stalled Stalled due inactivity label Apr 11, 2024
@efa2d19
Copy link
Author

efa2d19 commented Apr 11, 2024

I'm not sure why, but it's gone after system wipe 🤷‍♂️

@efa2d19 efa2d19 closed this as completed Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working extension: coffee Issues related to the coffee extension extension Issues related to one of the extensions in the Store status: stalled Stalled due inactivity
Projects
None yet
Development

No branches or pull requests

4 participants