BatteryFu
BatteryFu copied to clipboard
Improve energy efficiency by applying Reduce Size Energy Pattern
This improves the energy efficiency of BatteryFu by applying the Reduce Size Energy Pattern for mobile applications. The energy pattern was applied in Utils.java. The general idea is when receiving data from an URLConnection or subclasses, if possible, receive the data compressed by GZIP scheme. In this specific case, when receiving data from the urlConnection variable, request for the data to be compressed.