The Sysadmin Notebook  

Sitemap

Power Management

Power Management on Windows XP

Contents

Standby – suspends to memory – draws some power to retain memory image.

Hibernation – suspends to disk – no power consumption required

For XP power management features to work, disable all performance management features in the BIOS. ACPI is an OS specification: APM is a BIOS specification. ACPI requires ACPI-compliant applications too. When BIOS and OS contend for control, problems occur. APM BIOS implementations may vary from BIOS to BIOS.

OnNow

Top Bottom

Microsoft Initiative

Screen savers consume energy by keeping the monitor on and consuming CPU cycles. Power management can produce significant cost savings in small/medium/large organisations. Power Options dialogue varies according to the capabilities of the system.

ACPI Power States

Top Bottom
ACPI power states
State Meaning
S0 Working Fully On
S1 Standby Appears Off: Power remains for CPU, memory and fans
S2 Standby Appears Off: power to memory and fans only
S3 Standby Appears Off: power to refresh RAM only
S4 Hibernate Appears Off: system completely powered off, contents of memory saved to disk
S5 Off System completely powered off

Advantages

Power Management features require drivers and hardware that support it: built-in VGA driver does not. Critical shutdown (pressing and holding the power button) notifies applications and waits for responses. A hung application will prevent a shutdown. Emergency Shutdown: hold control while you click shutdown. Hibernation available even for non-APM and non-ACPI systems. Contents of RAM saved to disk. This includes part of the MFT: if you reboot to another OS and make changes, when you reboot to XP, old MFT is restored and changes are lost.

On boot NTLDR looks for hiberfil.sys and checks flagged status. Hibernation requires freespace on disk equal to RAM size

Troubleshooting Power Management

Top Bottom
System reboots instead of hibernating
faulty device driver could be causing BSOD. In 'Startup and Recovery' select 'Write an Event' and clear Auto-restart. Now you'll be able to see BSOD
For APM system, enable 'NT APM/Legacy Interface Node'
System won't emerge from standby
check for BIOS update
try removing or disabling all peripheral devices. Re-enable one-by-one
If a device is the problem, check for BIOS update
BIOS timeouts set lower than OS: disable BIOS settings
Device doesn't wake when system does
disable option that allows the device to wake computer

Power Saving features of Laptops

UPS

USB UPSs normally autoinstall. UPS tab disappears: this is for serial UPSs only. USB UPSs adds shutdown times to power schemes and a power meter tab

ACPI also provides

XP setup chooses ACPI or APM HAL during setup: can be checked from devmgmt