I use a charging limit script on my Android phone to prevent it getting too warm, and also extending the battery life by keeping it below 85%.