As developers we are highly environmentally responsible for our code. It's how we start and stop location or other hardware that decides how fast the battery will be empty, thus on much batteries a user will need in its lifetime, and how much electricity (in various ways) have to be produced. Although it's sadly something Apple doesn't check, I'll give you a few hint at what you should do and shouldn't do to be greener developer.