I’m pretty sure it would be electrical, but since is not an answer the the best would probably be chemical, since heat isn’t able to charge a phone, you’re not using nuclear decay to charge a phone, and the charging cord is not radiating power to your phone