Update power-management extension#11917
Conversation
- New low power commands - Initial commit
|
Thank you for your contribution! 🎉 🔔 @sasivarnan @erics118 @iamyeizi you might want to have a look. |
|
The refactor looks good pretty nice! Perhaps just name the settings command as It also looks like there's a bug with toggling the enabled/disabled in the settings command. After toggling it once, it seems that you need to re-open the extension before you can toggle it again: CleanShot.2024-04-20.at.20.42.38.mp4 |
|
@erics118 Good catch on the bug! Looks like it’s related to not having the menu bar command active which I’d neglected to test. I’ll get it fixed up! |
|
Thanks for the contribution @bbatsche 🔥 Is this ready for another review? |
|
@pernielsentikaer yes! Thank you, it should be ready for another check. |
|
I gave it a spin and it works for me 🔥 @sasivarnan do you want to check it? |
|
Apologies for the delay. I have tested the modifications, and everything functions as anticipated. |
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
I added three new commands to the Power Management extension:
The first two simply try to set low power mode on or off (so the user doesn’t have to know what the current state is, unlike “toggle”). The third allows a user to see the current low power settings for both AC charger and battery power and then toggle them individually.
There was also some refactoring in the menubar command. In my testing I had noticed some delays in the menubar UI changing in response to low power mode being toggled from elsewhere within Raycast. This should address those.
Screencast
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder