Energy Consumption
Why and how desktop and mobile devices consume powerConventional PC
To save energy, it is essential to know how computers use it. Each computer consists of multiple different components, and the primary energy consumers of a computer are the LCD (display) and the CPU. CPU stands for Central Processing Unit although it is usually called the Processor, for short. The CPU is the core chip of the computer, which executes all programs.
The main power consuming component of the display is the backlight, which is, effectively, a lamp shining through all the pixels to make them visible. Its main job is lighting, so the electrical energy of the power supply is converted into useful light. We cannot do much to save the energy there, apart from reducing the brightness, as human eyes do not work without light.
But what happens inside the processor? If its main job is to compute, can we say that power is transformed into computations? Of course, this is not the case. Computations are not a form of energy. The energy is lost to electrical resistance and leakage in the silicon components. Electrical energy is transformed into thermal energy, or simply heat. More specifically, most of the energy dissipation can be described using the following formula (1):
P = n × a × C × V2 × f
- n — the number of transistors in a processor
- a — activity
- C — capacitance
- V — voltage
- f — frequency
As we can see, increasing the operating frequency, activity or adding more transistors to a processor make it consume more energy. At the same time, it allows for a greater number of computations to be done at the same time. Moreover, we want our processors to be fast. Capacitance is a property of each transistor. Decreasing voltage would benefit the sustainability, but it would decrease the reliability of the processor, as the difference between small and big voltage signals (0 and 1) would be small enough for small mistakes to occur.
Note
There are other components, such as coolers, peripheral devices, and optical drives; and many of them consume significant amounts of energy as well. However, unlike the CPU, these are not essential for the operation of the computer system and they are rarely used (compared to CPU and the memory, which are used 100% of the time. Therefore, these are out of the scope of our research).
Mobile devices
Smartphones and tablets are similar to desktop computers, as they also have processor, memory, and screen. However, unlike desktop computers tablets and smartphones make use of devices such as accelerometer and gyroscope (which are used for spatial recognition of the device); they are not connected to the network with cables, so they make extensive use of Wi-Fi and cellular technologies. Various other sensors, like cameras, Bluetooth and GPS are also responsible for short battery life of our phones.
Experimental measurements
Measuring the energy is much more straightforward on Android devices because of Apple's closed policies. It can be done using free tools such as PowerTutor (for Android, an app developed by PhD students from University of Michigan). In the diagram below, one of the results of a recent (2016) smartphone energy consumption study. The researchers tested several major components of a typical Android smartphone (Galaxy Note 3), as well as it normal operating in normal and aeroplane modes are shown.
As we can see, the three most energy-hungry components are networking devices and OLED (the screen). Obviously, if we want to reduce the power consumption of a smartphone, networking should be our main target. Also, putting a phone into aeroplane mode (which effectively disables all its networking capabilities) is the best way to make your battery live longer.
CPUs are far less important for mobile devices. To understand why we need to know, how the mobile devices are (typically) used. Measuring the exact time spent on various activities would be quite tricky, as users tend to use their phones repeatedly for short periods of time. What people would miss if they did not have the phone
We can conclude that people are not doing many processing-heavy tasks on their mobile devices, such as video editing, 3D modelling or games with realistic graphics. Although there are applications of this kind for tablets and smartphones, they are mainly used for texting, using social media, surfing the net, sending emails. Therefore, performance requirements of smartphones are typically lower than of desktop computers. Moreover, again, as networking is the main usage of mobile devices, its sustainability is crucial.
At the same time, sustainability requirement is much higher; as users not only want their devices to live longer from one battery charge but also they want the phones to be small and thin, which limits the size of the battery that can be used. These are the reasons why CPUs in the phones tend to age slower and consume less energy.
Conclusion
So, how can we consume less energy? We cannot do much to the screens, so our main targets are the processor and the networking components. You can read about optimising both on CPU Power Management and Networking sections of our website. Both of these are important, but desktop computers will mainly be affected by processor optimisations, while mobile devices would benefit from sustainable networking.
Last but not least: no matter how efficient is the hardware, developers may neglect the benefits by writing inefficient programs. Software in general needs to be optimised to maximise power efficiency. The Software section on our website explains, how software developers ensure energy efficiency of their products. If you are a developer yourself, you can have a look at our Tips for writing energy efficient software.