Author.@reboot81
PURPOSE:
• Check battery status of BT devices, and if needed notify user
HOW TO USE:
- Set Charge_Threshold and Charge_Critical_Threshold
- Find references to ”MX Vertical” and adapt to your device if needed (non Apple devices)
- Set schedule
WHAT COULD BE IMPROVED:
• MX mouse to a variable
• Change icon of notification?
• More persistant notification at critical level?
REQUIRES:
- Keyboard Maestro Ver 7.1+
- Yosemite (10.10.5)+
ISSUES:
system_profiler SPBluetoothDataType | grep -A 20 "MX Vertical" does not always include battery level. Connecting and reconnecting makes it visible again.
RELEASE INFO:
1.0 First version
1.1 Fixed logic not triggering ”Low” warnings and not handling turned off MX Vertical mouse.
TAGS: @KM, @Macro, @battery, @Forum, @Tool, Macro Library
reboo81
Mouse & Keyboard Battery Charge Level Warning.kmmacros (18.8 KB)