If its exposed in EC, TLP might easily configure that
Follow up BIOS guide - #28 by Animesh_Sahu for that if you use linux