HDR Turns Off When You Unplug a Windows 11 Laptop. Check the Power Setting

Choose the display before changing settings
Open Settings → System → Display and identify the built-in or external display that changes. Select that display and open HDR. Read whether the display supports and uses HDR. If you have two screens, test each independently. The Windows projection guide shows how to identify the numbered displays.
Record HDR on AC and battery
Plug the laptop into its normal power adapter and open a fixed scene in an HDR-capable app. Note the current HDR state and brightness. Unplug the adapter and repeat the exact scene without moving the window to another display. If the laptop was attached to a powered dock, unplugging the dock changes both the display connection and the power source. Test the laptop’s own display separately in that case.
Read Windows HDR battery options
Microsoft documents battery options on applicable devices, including a setting that can turn HDR off when running on battery. Inspect the available choices before assuming Windows lost display support. Decide whether HDR on battery is worth the tradeoff in battery life for your use. If the setting is absent, read the documented restrictions and check the specific display and laptop setup. Microsoft’s HDR settings and troubleshooting
Confirm what changed and what did not
Example when only the external monitor changes
A laptop’s built-in screen keeps HDR on while an external display turns off when its dock loses power. Repeating the test with the laptop’s charger and the monitor on a separately powered connection can distinguish the HDR battery setting from the dock losing the display signal.
Retest the same scene after changing only the available HDR battery choice. Check the HDR toggle as well as how the image looks. Lower screen brightness or an HDR video player setting can change the picture independently. If HDR remains on but the image looks wrong, see the Windows HDR color guide. If power drops quickly even during ordinary use, use the app battery-use comparison to measure a normal workload separately.