Will my device go into suspend mode while charging?

After three minutes of inactivity, device will go into suspend mode, even when charging.