Only show battery when charging or under 50%

Only works on mac for now