Update battery-health-check.yml (#42401)

This commit is contained in:
Allen Houchins 2026-03-25 13:57:51 -05:00 committed by GitHub
parent dc5f0d9f11
commit 1d8e3506a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,13 +1,18 @@
- name: macOS - Battery healthy
query: SELECT 1 WHERE NOT EXISTS (SELECT 1 FROM battery WHERE health != 'Good' OR condition != 'Normal');
query: >-
SELECT 1 WHERE NOT EXISTS (
SELECT 1 FROM battery
WHERE condition IN ('Service Needed', 'Permanent Failure')
OR health IN ('Fair', 'Poor')
);
critical: false
description: >-
This policy checks if the Mac's battery is in a healthy state. Laptops with a battery health status other than "Good" or a condition other than "Normal" will fail this policy.
This policy checks if the Mac's battery is in a healthy state. Laptops with degraded battery health
(Fair/Poor) or a condition requiring service will fail this policy.
Desktop Macs (no battery) automatically pass.
A degraded battery can cause unexpected shutdowns, reduced portability, and decreased productivity.
Monitoring battery health helps IT plan for device replacements and ensures employees have reliable hardware.
resolution: |-
Check your battery health by clicking the Apple menu > System Settings > Battery > Battery Health.
If your battery condition shows "Service Recommended" or health is "Fair" or "Poor", please reach out in #help-it to arrange a battery replacement or device swap.
If your battery condition shows "Service Needed" or health is "Fair" or "Poor", please reach out in #help-it to arrange a battery replacement or device swap.
platform: darwin