silence warnings when battery is <15%, but charging

After allowing my laptop to deplete its battery, I connected the laptop to power and started it up. Upon login, I was notified each refresh interval that battery death was imminent (despite being on AC power). This commit silences battery warnings unless the battery is discharging (applied for both the original bat widget and the contrib.tpbat widget).