Home · All Classes · Grouped Classes · Annotated · Functions

PhonePowerManager Class Reference

The PhonePowerManager class implements phone specific power management functionality in Qtopia. More...

    #include <PhonePowerManager>

Inherits QtopiaPowerManager.

Public Functions

Additional Inherited Members


Detailed Description

The PhonePowerManager class implements phone specific power management functionality in Qtopia.

This manager uses three levels for power management. The first level dims the background light, the second level turns the light off and the last level suspends the device.

The PhonePowerManager class provides the PhonePowerManager task. It is part of the Qtopia server and cannot be used by other Qtopia applications.

See also QtopiaPowerManager.


Member Function Documentation

PhonePowerManager::PhonePowerManager ()

Constructs a new PhonePowerManager instance.

PhonePowerManager::~PhonePowerManager ()   [virtual]

Destroys the PhonePowerManager instance

bool PhonePowerManager::save ( int level )   [virtual]

This function activates the appropriate actions for the given power management level.

Reimplemented from QWSScreenSaver.

void PhonePowerManager::setIntervals ( int * ivals, int size )   [virtual]

This function sets the power management internal timeouts to the values passed in ivals. size determines the number of entries in ivals.

The phone power manager maps the timeouts to the following actions:

Reimplemented from QtopiaPowerManager.


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3