这是indexloc提供的服务,不要输入任何密码
Skip to content

TambuDT/MacPowerAlert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

MacPowerAlert

MacPowerAlert is a macOS application that monitors your Mac's battery status and notifies you when the battery is at 20% or 80%.

Why avoid discharging below 20% and charging above 80%

Keeping your Mac's battery between 20% and 80% charge can help extend the battery's lifespan. Recharging the battery when it's around 20% and stopping the charge when it reaches 80% can reduce stress on the battery and slow down the aging process.

Installation

Downlaod the app, copy to Applications folder, right click and select open, then select open anyway

Autostart Activation via Mac System Preferences

To enable MacPowerAlert to start automatically with your Mac, follow these steps:

  1. Go to "System Preferences" on your Mac.
  2. In the "Login Items" tab, add MacPowerAlert to the list of login items.

Setup Project

  1. Make sure you have Xcode installed on your system.
  2. Clone the repository: git clone https://github.com/your-username/MacPowerAlert.git
  3. Open the project in Xcode: open MacPowerAlert.xcodeproj
  4. Configure build settings and select "My Mac" as the target device.
  5. Build the project.

Usage

  1. Launch the application.
  2. The app will start monitoring the battery status every minute.
  3. You'll receive notifications when the battery is at 20% or 80%.

Contribute

If you want to contribute to this project, follow these steps:

  1. Fork the project.
  2. Create a branch for your feature: git checkout -b feature-new
  3. Commit your changes: git commit -m 'Add new feature'
  4. Push your branch: git push origin feature-new
  5. Submit a pull request.

Contact

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages