fix for battery over 100%,and fix kernel switch.