How can I programmatically stop a notebook battery from charging

前端 未结 10 1215
深忆病人
深忆病人 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:47

    I think it's possible, because it was patented by IBM (patent no. 7570015).

    Not sure if there's a Windows API available for that.

提交回复
热议问题