Optimizing Laptop Battery Life with Microsoft Intune

Most battery-optimization guides scatter settings across Settings Catalog profiles, remediations, and manual powercfg tweaks. In practice, the highest-impact power levers, CPU turbo cap, cooling policy, Energy Saver timing, are either not exposed to MDM or behave inconsistently across OEM power schemes. The cleanest path for a managed fleet is a single, well-scoped PowerShell script deployed from Intune that writes directly to the active power plan.

This article delivers exactly that : one script, applied in SYSTEM context, that constrains power consumption on battery (DC) while leaving plugged-in (AC) performance untouched. It is derived from a tested baseline that produced measurable autonomy gains on real Windows 11 hardware.

1. The Strategy

The script applies a focused set of DC-only optimizations :

LeverEffectWhy it matters
Energy Saver always-on (DC)Engages background throttling across the full discharge cycleDefault only triggers at 20%, far too late
Max processor state 99% on DCDisables turbo boost on batterySingle largest energy/thermal win on most laptops
Min processor state 5% on DCAllows the CPU to idle deeperReduces baseline draw
Passive cooling on DCThrottles before spinning the fanCuts fan power and heat-driven consumption

AC values are deliberately left alone. A user plugged in should never feel a slowdown.

2. The Script

Find out the script in my Github Repository :

https://github.com/aymenjaz/PowerShell/blob/main/1%20-%20Microsoft%20365/Intune/Optimize%20laptop%20battery%20autonomy.ps1

3. Deploy from Intune

  • Intune Admin Center -> Devices -> Scripts and remediations -> Platform scripts -> Add -> Windows 10 and later
  • Name : Optimize-Laptop-Battery-Life
  • Click Next
  • Upload the PowerShell script (.ps1) file.
  • Run this script using the logged-on credentials : No (SYSTEM context required for powercfg to persist)
  • Enforce script signature check : No (or sign your script and set Yes)
  • Run script in 64-bit PowerShell Host : Yes
  • Assign to a laptop device group (e.g. GRP-DEV-Laptops)
  • Click Create

4. Test Results

This is not theory. The script was deployed and measured on a production Windows 11 laptop, with a battery report generated before and after applying the configuration over comparable discharge cycles and a representative office workload (browser, Office apps, Teams, background sync).

The result : a 20% increase in battery autonomy on the same usage pattern. The bulk of the gain came from capping the maximum processor state at 99% on DC, which disables Turbo Boost. On typical office workloads the CPU rarely needs turbo frequencies, so the perceived performance impact was negligible while the energy and thermal savings were substantial. The passive cooling policy compounded this by keeping the fan idle longer, removing both the fan’s own draw and the consumption spikes that heat-driven boosting causes.

Results will vary by hardware generation, panel type, and workload, performance-heavy or thermally constrained machines may see more, lightweight ultrabooks somewhat less, but the direction is consistent across the fleet.

5. Conclusion

A single, focused PowerShell script, deployed in SYSTEM context from Intune and constrained to the DC side, is enough to deliver a measurable 25% autonomy gain with no hardware change and zero user friction. The decisions that make it work: target the active scheme so it survives OEM plans, touch only battery values so plugged-in performance is never penalized, and run as SYSTEM so the settings persist. The biggest win, disabling Turbo Boost on battery, is exactly the lever MDM-native configuration cannot reach, which is why a direct powercfg script stays the most reliable approach. Pilot on a small ring, confirm the gain with powercfg /batteryreport, then scale, and promote it to a daily Remediation if your fleet runs OEM utilities that reset power schemes.

Thanks

Aymen EL JAZIRI (Microsoft MVP)
Aymen EL JAZIRI (Microsoft MVP)

Hi, I’m Aymen El Jaziri , a passionate System Administrator and Microsoft MVP, with years of hands-on experience in managing and securing modern IT infrastructures.
This blog is where I share technical guides, automation scripts, product reviews, and real-world solutions that help IT professionals simplify their day-to-day work and stay ahead in a fast-evolving cloud ecosystem.
Whether you’re here to troubleshoot an issue, improve your automation game, or learn new best practices , welcome in my blog !
Let’s build a stronger, smarter IT community together.
Feel free to connect with me on LinkedIn for more content, discussions, or collaboration opportunities.

Thanks

Aymen

Articles: 156