Have you noticed a shortening of your laptop’s battery life when working with Android Studio?
Android Studio is a great tool and some of the great things it does require fairly substantial processing to occur in the background. Much of this processing is constantly firing performing what are called Inspections.
To get a sense of the kind of background work that’s going on, choose Project \ Settings from the Android Studio menu and then highlight Inspections in the Project Settings pane.
To save power we could go through and turn off some of these inspections so that less background processing occurs. These inspections are good stuff, though. I prefer to have these checks available. Fortunately, Android Studio doesn’t require us to make this choice.
Android Studio gives us the option of stopping the automatic checks and instead running them on demand. You can prevent these inspections from automatically running by selecting Project \ Power Save Mode in the Android Studio menu.
You can then run the checks manually by choosing Analyze \ Inspect Code… from the Android Studio menu.
With this, we get the benefit of Android Studio code inspection while still maximizing our laptop battery life.
For information on getting started developing Android applications or working with Android Studio, checkout Jim’s Android programming courses on Pluralsight including his latest course.