Added percent limits. Battery percentage is just a calculated guess, so I can not be sure it will remain between 0 and 100%. Therefore I added a security margin of 5%
Changed Event Counter to model Switcher, because the event counter is delivered in every case, non only on changes