battery level in % support. minor other fixes.