This only applies while the OS is booted into the regular boot mode. The OS configures charging to work this way. There's nothing which can be set to make it happen without the OS booted. When the device is off, it normally boots into the OS charging mode when plugged in unless it's at an extremely low battery level near 0%. In theory, the OS could implement this charge limit there. It's not currently something implemented by the stock OS or at a low-level by the Android Open Source Project. It's not something we currently plan to add unless the stock OS adds it.