How to detect when laptop power cable has been disconnected?

前端 未结 7 2115
终归单人心
终归单人心 2020-12-05 15:53

For the umpteenth time my laptop just shut down in the middle of my game because my power cable had disconnected without me noticing it.

Now I want to write a little

相关标签:
7条回答
  • 2020-12-05 16:24

    This will probably get closed as not-programming-related, but you may want to check your BIOS setttings.

    My Lenovo laptop does exactly what you're suggesting natively. There is a setting in my BIOS for beeping on power status change.

    0 讨论(0)
提交回复
热议问题