An attempt to improve PowerHandler cpu usage