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 1,279 times
3
-
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
2
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
- 389,263
- 172
- 990
- 904
-
That's great. I'm on Linux. I'll look forward to the feature request. – Alexander Suraphel May 30 '17 at 10:57
-
There is an [Automatic Power Saver](https://plugins.jetbrains.com/plugin/11941-automatic-power-saver) plugin suggested in the linked issue. – Vadzim Mar 06 '23 at 16:11