mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Update battery-health-check.yml (#42401)
This commit is contained in:
parent
dc5f0d9f11
commit
1d8e3506a3
1 changed files with 9 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue