I usually work with the AC plugged in but sometimes I remove the cord and forget to put Intellij into Power Save mode and my battery drains battery very quickly. Is it possible to do what I am asking?
Asked
Active
Viewed 990 times
2
-
You will have to write a plugin and use something like this: https://stackoverflow.com/questions/1160302/monitoring-battery-or-power-supply-of-laptop-from-java – Meo May 30 '17 at 08:26
1 Answers
1
Please follow this feature request for updates.
There is a link to a dummy plug-in for Mac that you can modify to make it actually switch the power save mode, right now it can only monitor the system events, but doesn't perform any actions.
CrazyCoder
- 371,688
- 155
- 943
- 850
-
That's great. I'm on Linux. I'll look forward to the feature request. – Alexander Suraphel May 30 '17 at 10:57