Good catch, I was greping it but didn't catch it. I moved it to app/services/power_manager.rb, not sure about the reason to move it to lib. It would be on two places. We also have other modules in app/services.