OpenSource Attiny PMIC electronics https://ift.tt/2yoFe8a So, as the github explains I got slightly annoyed at the lack of ease of making a, what I considered atleast, simple circuit to power something on whenever you press button somethings turns on but whenever you hold it it turns off. Dedicated ICs were expensive as a hobbies option and circuits I could find were either massive board wise, consumed a fair amount of power for battery applications, or relied on the main micro functioning which when its not is exactly the time to hold the button. So I made my own.https://ift.tt/2wQIwR6 uses < 1µa with a dedicated LDO, allows the button to still be used as an interrupt, and continues to work even if the main micro locks up, super cheap.