You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Note: You must do two steps for this script to work.
# 1- run "curl https://raw.githubusercontent.com/actuallymentor/battery/main/setup.sh | sudo bash" to install smc and battery script
# 2- run "battery visudo" to add battery command to sudoers
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Toggle Battery Charging
# @raycast.mode silent
# Optional parameters:
# @raycast.icon 🔋
# @raycast.packageName System
# Documentation:
# @raycast.description Toggle charging the battery when it is plugged in. When turned off, it will always use the charger instead of the battery; when turned on, it will go to automatic mode (decide based on your settings and daily charging routine).