Attiny battery monitor with tiny core.