|Modified Aygo center dashboard|
Since I draw power from an unswitched battery pin I need to avoid draining the battery when the car isn't running. For this I implemented a power management feature that probes for the ECU every 16 seconds via a watchdog timer and puts the AVR into standby mode when it detects the ignition is turned off. The nice thing about that is that I don't have to implement any flash memory persistence for medium-term statistics.
Power consumption is around 8mA in standby mode and 40mA while running with full LED backlight. With 8mA standby current the car should be able to sit for at least two months without discharging.