The Resource Management collection contains components responsible for controlling device hardware. The components give high-level access to phone resources, such as light and vibration, and provide a notification service for power and memory.
The Resource Management collection contains components which control hardware resources, publish battery and power state information, and provide notification in the event of power and memory emergencies. It is dependent on important components, such as Plug-in Framework, Feature Manager, and CentRep.
Control of hardware resources: The Hardware Resource Manager provides standard Light, Extended Light and Vibra APIs which allow clients to interrogate and control device hardware resources, such as backlights and vibrators. The Hardware Resource Manager is a server for which device creators can write hardware-specific ECom plug-ins.
Battery state and power information: The Hardware Resource Manager uses the Publish and Subscribe (P&S) system to provide up-to-date information on the charging status, battery level and battery state of the device. Any application may subscribe to the appropriate P&S keys to receive updates.
The Power and Memory Notification Service notifies clients that the power is about to be switched off, the system is about to restart or if a low memory situation has occurred. Applications use such notifications to save data, and possibly to close down. It also initializes the final power-down sequence if this is indicated in the shutdown request it receives from UI component.
The Resource Management collection includes the following components:
Application developers can use the APIs of the Hardware Resource Manager to develop device-independent applications that can use and control hardware, and can subscribe to the P&S system to receive information on charging and battery state.
Device creators can develop hardware specific plug-ins, using standard interfaces, which allow device independent applications to use and control hardware.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.