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

Releases: TambuDT/MacPowerAlert

MacPowerAlert(Beta)

02 Jan 23:05
Compare
Choose a tag to compare

WHAT THIS VERSION INTRODUCES ?

Battery Notification Count Limitation

The BackgroundService now includes a feature to limit the number of notifications for both low and high battery levels. The counts are reset when the battery read condition are restored (plug unplug the charger).

Added Properties:
-lowBatteryNotificationCount: Tracks the number of low battery notifications.
-highBatteryNotificationCount: Tracks the number of high battery notifications.
Logic Implementation:
-For low battery notifications (battery level <= 20% and not charging):
The notification count is incremented only if it's less than 3.
The count is reset when the condition of reading are restored.
-For high battery notifications (battery level >= 80% and charging):
The notification count is incremented only if it's less than 3.
The count is reset when the condition of reading are restored.
This enhancement ensures that users receive a maximum of 3 notifications for both low and high battery levels, preventing excessive notifications when the battery stays outside the specified ranges.

MacPowerAlert(Beta)

02 Jan 22:50
cca231f
Compare
Choose a tag to compare

MacPowerAlert is a macOS application that monitors your Mac's battery status and notifies you when the battery is at 20% or 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.