fixing battery stats on newer OS X