How can I programmatically stop a notebook battery from charging

前端 未结 10 1219
深忆病人
深忆病人 2021-02-14 19:34

There is some easily available information on finding the status of a battery, or weather it\'s charging or not. (GetSystemPowerStatus API or System.Windows.Forms.SystemInformat

10条回答
  •  太阳男子
    2021-02-14 19:49

    I think MiCTech is right. I dont think it is possible but here are some resources which you might useful.

    • Power Management Functions
    • RegisterPowerSettingNotification Function

提交回复
热议问题