Moved the battery bar widget to a separate file