Update timed_gpio from CAF
Improve CPU power-saving
Fix CPU-set permission check