Tag: power modes

Microsoft to improve user experience and battery runtime for mobile gaming

Article – From the horse’s mouth

Candy Crush Saga gameplay screen Android

Microsoft researching how games like Candy Crush Saga can work with full enjoyment but not demanding much power

Microsoft Research

RAVEN: Reducing Power Consumption of Mobile Games without Compromising User Experience (Blog Post)

My Comments

A common frustration that we all face when we play video games on a laptop, tablet or smartphone is that these devices run out of battery power after a relatively short amount of playing time. It doesn’t matter whether we use a mobile-optimised graphics infrastructure like what the iPad or our smartphones are equipped with, or a desktop-grade graphics infrastructure like the discrete or integrated graphics chipsets that laptops are kitted out with.

What typically happens in gameplay is that the graphics infrastructure paints multiple frames to create the illusion of movement. But most games tend to show static images for a long time, usually while we are planning the next move in the game. In a lot of cases, some of these situations may use a relatively small area where animation takes place be it to show a move taking place or to show a “barberpole” animation which is a looping animation that exists for effect when no activity takes place.

Microsoft is working on an approach for “painting” the interaction screens in a game so as to avoid the CPU and graphics infrastructure devoting too much effort towards this task. This is a goal to allow a game to be played without consuming too much power and takes advantage of human visual perception for scaling frames needed to make an animation. There is also the concept of predictability for interpreting subsequent animations.

But a lot of the theory behind the research is very similar to how most video-compression codecs and techniques work. Here, these codecs use a “base” frame that acts as a reference and data that describes the animation that takes place relative to that base frame. Then during playback or reception, the software reconstructs the subsequent frames to make the animations that we see.

The research is mainly about an energy-efficient approach to measuring these perceptual differences during interactive gameplay based on the luminance component of a video image. Here, the luminance component of a video image would be equivalent to what you would have seen on a black-and-white TV. This therefore can be assessed without needing to place heavy power demands on the computer’s processing infrastructure.

The knowledge can then be used for designing graphics-handling software for games that are to be played on battery-powered devices, or to allow a “dual-power” approach for Windows, MacOS and Linux games. This is where a game can show a detailed animation with high performance on a laptop connected to AC power but allow it not to show that detailed animation while the computer is on battery power.

Power-saving modes for your computer–how to use them to best advantage

An issue that can be of concern with computer users is choosing the best way your computer should behave when it is in an idle or dormant state.

Since Windows 95 and the arrival of the ATX chassis with the software-controlled power supply, it has become more feasible to provide software control over a computer’s power needs. Macintosh users have had this ability all along and this was gradually implemented in to Windows laptop computers just before 1994.

Now there are a range of software-controlled reduced-power modes that a computer can be set to assume when you are not using it. The different modes work in order to make sure that work-in-progress data isn’t lost and that the computer “knows where it is” when it comes to.

Power conditions

Peripheral sleep

This mode is a common idle-operating mode for computers not actually doing something and is often set up by default. This is where hard-disks or other mechanical drives spin down and the the display turns off, but power is maintained to the RAM, system processor and communications circuitry.

The computer then operates at full steam when you operate the keyboard or mouse or, in some cases, connect peripherals or insert removable media.

System sleep / standby

A computer that operates in this mode has the processor and RAM and, in some cases, certain communications channels consuming power but the processor is operating under a low power condition. This mode then allows for instant-on wakeup when you need the computer. This power state is typically indicated with the power light slowly flashing  or changing to a colour like amber.

Then it may be woken up by, in some cases, you using a keyboard or mouse or just pressiong the power-control button.

Some Windows 7 and newer Macintosh laptop computers implement a “hybrid sleep” where the contents of the RAM are dumped to the hard disk / solid-state drive when they enter this mode. This allows for the battery to die down without loss of data.

Hibernate / Deep sleep

When a computer is placed in the hibernate or deep-sleep mode, the current contents of the RAM are dumped to a special file on the computer’s hard disk or solid-state drive. Then the computer shuts off completely.

The tradeoff with this mode is that it takes slightly longer for the computer to be at useable state due to reading from the hard disk. For SSD-based systems like netbooks, Ultrabooks and the Toshiba R830 that I reviewed previously, the restore time would be likely to be short compared to a hard-disk-based system.

When you need the computer, you just activate the power switch where the computer will start up and read back the data from the secondary non-volatile storage.

All Windows laptops have supported this power state “out of the box” but MacOS X computers require the user to download and install third-party utilities to implement this mode.

How can I best use these modes

If you are leaving your computer while it is transferring data or doing a long task, you could allow it to implement “peripheral sleep” for peripheral devices that aren’t relevant to the task. This can be done through setting up spin-down or display-off times using the power-control options in your operating system.

Implementing standby / system-sleep can be handy for computers connected to external power like desktops or laptops that are plugged in to their charger. But I wouldn’t recommend this for laptops running on their own battery, even Ultrabooks or other SSD-based power-optimised ultraportables.

I would implement the hibernate mode mainly as a preferred power-down mode on laptop computers. This works as a way of maximising battery availability especially if you want to have it available at the end of your journey. This is even though your journey may end up at your desk where you may plug the laptop in to power before using it.

The Hibernate mode is also more important for netbooks, Ultrabooks and similar units that you use as a secondary “traveller” computer and you may typically “lay them up” for a time period in an order of weeks or months as you stay working at your regular desk.

If you can, you may need to implement hibernate mode on your desktop if it doesn’t handle system sleep properly or is fed from an AC supply that is unreliable like in the country or peri-urban areas.

For laptops, it may be a good idea to check the power options to determine what closing the lid does when you set the computer up for the first time. This is more important when it comes to what it should do while on battery power.

It is also worth shutting down the computer and restarting it every few weeks, especially if you shift between networks a lot or connect and disconnect peripherals frequently.  The “boot” cycle that is part of the process gives the computer a chance to properly take stock of its storage, peripheral-device and connectivity environment.


Once you know what these low-power operating modes that your computer’s operating system offers are about, then you could be able to operate it in a power-efficient way especially when you are not using it and yet come back to a responsive machine.