Most of us probably already had this situation: One is tight on battery and trying to save as much energy as possible. Then suddenly a process goes wild and drains the battery by 10 or more percent within minutes.
Is it somehow possible to cap the energy a process is allowed to use within a certain time interval?