NOT PATCHED YET
(Please post if this technique has been patched)
This technique has only been tested on PC. I have no idea if it works on any other devices.
If you want to gain hours fast by AFKing, you can by doing a simple step on the PC Flash client
When AFKing, you will eventually be disconnected and not gain any hours, but there is a way where you can be disconnected, and STILL gain hours
First step is to find an AFKing spot, I prefer the Battle Arena
After finding a place to afk, open up your profile, like so
and leave it open while AFKing, this will allow you to gain hours even when the idle screen comes up!
Benefits:
AP increase
Hours increase