There's a hidden setting in Windows Phone 8.1. Type " USB" into Cortana. When the results appear scroll left to the Phone tab. Depending on what's on your phone you may have to scroll till you see USB Settings. These settings are unavailable from the Settings app. The most useful one looks to be the slow charger warning.

Windows Phone