Total needs to be a decimal value, percentage needs to be int.
Change battery meter color based on status.
Using existent theme colors.