Hello,
This feature is available only on specific HP models and can be controlled only through BIOS/UEFI settings. This feature cannot be enabled through Windows Power Options.
If your laptop has this feature, you can enable it in the BIOS.
- When you see your PC Manufacturer's logo or the Windows logo, press F2 or F10 or F12, or Esc to boot your PC into the BIOS utility screen. You can refer to the document to learn about the BIOS menu keys.
- From there, look for power options.
- Look for any setting related to 'Lid Switch'.
- Ensure the 'Power ON Lid Open' Option is enabled.
This setting allows the system to power up from the off state whenever the lid is opened. (Works for both when plugged into an AC adapter and on battery.)