Is there a way to test for a running total for button presses, power usage, etc?

check App: Device Tracker

It may accumulate your counts and hours but I don’t think it can trigger actions based on any desired thresholds.