Windows has receipts for your PC’s bad power habits.