Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to plug off the laptop by a command from the laptop, rather than by removing the adapter from power source?

I am on Windows Seven, but I will also welcome any note regarding the existence of such command for some version of Linux.

My laptop is hp g71.

share|improve this question

migrated from stackoverflow.com Sep 14 '11 at 5:27

This question came from our site for professional and enthusiast programmers.

closed as off topic by SvW, Wesley, Ward, Chopper3 Sep 14 '11 at 5:51

Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

This doesn't seem to be possible.
Look at the following question How can I programmatically stop a notebook battery from charging

One more thing to notice is that the battery charging is independent of OS and also happens when the System is Powered Off. Thus if there be any setting of kind it would need to be done in firmware or via a proprietary software from the laptop vendor which changes the firmware entries.

I also have an HP Laptop and haven't seen any such utility on the HP Software downloads page.

share|improve this answer
    
Looks like I misunderstood I should remove my answer then. –  Jesus Ramos Sep 14 '11 at 5:20

Not the answer you're looking for? Browse other questions tagged or ask your own question.