POWER MANAGEMENT IN WINDOWS-CE (HAND-HELD DEVICES) By: Ankur Agarwal.

Slides:



Advertisements
Similar presentations
Note: Third Party Brands and Trademarks are Property of Their Respective Owners. ACPI Overview.
Advertisements

PCS – BYOD Are you ready for devices in your classroom? August 2013.
USB Controlled IO Module Jon Knoll Dave Wolowicz Sponsored by: Dr. Kin Li A 499a Project.
COURSE: COMPUTER PLATFORMS
Processor System Architecture
June 2010 At A Glance The Room Alert Adapter software in conjunction with AVTECH Room Alert™ devices assists in monitoring computer room environments as.
Basic Input Output System
Wireless Sensor Networks: Perimeter Security By Jeremy Prince, Brad Klein, Brian Wang, & Kaustubh Jain.
Introduction to BlackBerry Push API Pratik Sapra, Mobile Application Development Specialist.
Operating Systems High Level View Chapter 1,2. Who is the User? End Users Application Programmers System Programmers Administrators.
1 SWE Introduction to Software Engineering Lecture 21 – Architectural Design (Chapter 13)
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
Application architectures
Figure 1.1 Interaction between applications and the operating system.
Performed by: Gadi Marcu & Tomer Alon Instructor: Erez Zilber המעבדה למערכות ספרתיות מהירות High speed digital systems laboratory הטכניון - מכון טכנולוגי.
1 When to Switch Processes 3 triggers –System call, Interrupt and Trap System call –when a user program invokes a system call. e.g., a system call that.
Power Modeling and Power Management Framework Dexin Li December 2002.
CHAPTER 9: Input / Output
1 I/O Management in Representative Operating Systems.
What is adaptive web technology?  There is an increasingly large demand for software systems which are able to operate effectively in dynamic environments.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Part two. 3.2 operating system architecture  Software have two categories  Application software  System software  Application software: consists of.
Data: A collection of raw facts and figures. It may consist of numbers, characters, symbols or pictures. Information: Organized and processed form of.
Application architectures
Hardware Interface Design Patterns Ahmet Selman Bozkır – Hacettepe Univ.
Introduction to Operating Systems
USB host for web camera connection
Operating system Part two Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
WORKFLOW IN MOBILE ENVIRONMENT. WHAT IS WORKFLOW ?  WORKFLOW IS A COLLECTION OF TASKS ORGANIZED TO ACCOMPLISH SOME BUSINESS PROCESS.  EXAMPLE: Patient.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Cracow Grid Workshop 2003 Institute of Computer Science AGH A Concept of a Monitoring Infrastructure for Workflow-Based Grid Applications Bartosz Baliś,
WINDOWS SERVICES. Introduction You often need programs that run continuously in the background Examples: – servers –Print spooler You often need.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
A Survey of Mobile Cloud Computing Application Models
Unit - 1 Basic Computer Architecture P. Sugin Benzigar.
CHAPTER 9: Input / Output
11 SYSTEM PERFORMANCE IN WINDOWS XP Chapter 12. Chapter 12: System Performance in Windows XP2 SYSTEM PERFORMANCE IN WINDOWS XP  Optimize Microsoft Windows.
1 Network Management Security Behzad Akbari Fall 2009 In the Name of the Most High.
1 Chapter Overview Configuring and Troubleshooting the Display Configuring Power Management Configuring Operating System Settings Configuring and Troubleshooting.
CS 453 Computer Networks Lecture 22 Network Management.
Gary MarsdenSlide 1University of Cape Town Human-Computer Interaction - 3 Programmer Support Gary Marsden ( ) July 2002.
Chapter 14 Part II: Architectural Adaptation BY: AARON MCKAY.
Home Appliance Control System
Networked Computer Power Management Software Determining “Equivalency” to Surveyor RTF Meeting February 5, 2008.
Mobile Middleware for Energy-Awareness Wei Li
MAPLD Reconfigurable Computing Birds-of-a-Feather Programming Tools Jeffrey S. Vetter M. C. Smith, P. C. Roth O. O. Storaasli, S. R. Alam
Advanced Design and System Patterns The Microkernel Pattern.
TOSCA Monitoring Reference Architecture Straw-man Roger Dev CA Technologies March 18, 2015 PRELIMINARY.
Device Identification & Driver Management TSC Update January 8, 2015.
Improving Networks Worldwide. UNH InterOperability Lab Serial ATA (SATA) Clause 8: OOB and Phy Power States.
A Collaborative Framework for Scientific Data Analysis and Visualization Jaliya Ekanayake, Shrideep Pallickara, and Geoffrey Fox Department of Computer.
System Components ● There are three main protected modules of the System  The Hardware Abstraction Layer ● A virtual machine to configure all devices.
1. 2 Purpose of This Presentation ◆ To explain how spacecraft can be virtualized by using a standard modeling method; ◆ To introduce the basic concept.
Motivation FACE architecture encourages modularity of components on data boundaries Transport Services Segment interface is centered on sending and receiving.
Business-logic Layer Presentation Layer Network Layer Digital Signal Processing Layer SmartHome API SmartHome Software Architecture SH mobile application.
Matthew Locke November 2007 A Linux Power Management Architecture.
Evaluation of Advanced Power Management for ClassCloud based on DRBL Rider Grid Technology Division National Center for High-Performance Computing Research.
Application architectures. Objectives l To explain the organisation of two fundamental models of business systems - batch processing and transaction processing.
Computer and Information Security
Windows Forms for mobile development
Operating Systems (CS 340 D)
Chapter 3: Windows7 Part 2.
Zicheng Wan and Yuan Gao CPSC 6820, Clemson University
Chapter 3: Windows7 Part 2.
Software Engineering with Reusable Components
Architectural Requirements for the Effective Support of Adaptive Mobile Applications Lawrence Li ICS 243F.
Architectural Requirements for the Effective Support of Adaptive Mobile Applications Lawrence Li ICS 243F.
Outline - Energy Management
Presentation transcript:

POWER MANAGEMENT IN WINDOWS-CE (HAND-HELD DEVICES) By: Ankur Agarwal

MOTIVATION Complex Application on Portable System –Images –Gaming –Video Clips Reduction in Weight and Size Catastrophic Data Loss

POWER MANAGEMENT AT DIFFERENT LEVELS Transistor Level Architecture Level Application Level System Level (Operating System) ABSTRACTION

SYSTEM LEVEL POWER MANAGEMENT Power Manager is a Part of System Level Power Management. It manages –Applications –Devices –Processor It collects the information from the various interfaces Based on the information it puts the whole system into lowest possible power state suitable for a particular application.

POWER MANAGEMENT ARCHITECTURE APPLICATION LEVEL POWER MANAGER PM POLICY MANAGER DEVICE LEVEL POWER MANAGER APPLICATION SUBSYSTEM DEVICE DRIVERS BATTERY

POWER MANAGEMENT ARCHITECTURE Both Application and Device drivers in the system are dependent on the services of the Power Manager. The Power Manager provides Applications and Drivers with the necessary means to comprehend system-level changes and adapt their power states accordingly. Windows CE.NET has a comprehensive set of Power Management APIs for both device drivers and applications within a Power Manager component.

POWER MANAGEMENT SOFTWARE ARCHITECTURE Handles system-wide Power Management policy. Manages the system, Device & processor states to minimize the power consumption. Provides a set of services for applications in the system to get notifications on the system-level state changes. Provides the mean of applications to request specific levels of availability and performance from the system and in certain cases, from the device that the application is dependent on.

POWER MANAGEMENT SOFTWARE ARCHITECTURE Provides a set of services for the device drivers in the system to get notifications on the system level state changes & respond to it. Provides a means for the drivers to communicate to their power state. Monitors critical resources in the system. Monitors processor utilization and ensures that the processor is operating at the lowest possible power state.

DEVICE LEVEL POWER MANAGEMENT CLASS DIAGRAM POWER MANAGER DEVICE NOTIFIER +REQUESTPOWERNOTIFICATION ( ) +STOPPOWERNOTIFICATION ( ) +UPDATEDEVICEPOWERSTATE ( ) PM NOTIFICATION INTERFACE DEVICE DRIVER OR PROXY +GETDEVICEPOWERCAPABILITIES ( ) +GETDEVICEPOWERSTATE ( ) +SETDEVICEPOWERSTATE ( ) DRIVER PM INTERFACE

PM NOTIFICATION INTERFACE POWER MANAGER DEVICE NOTIFIER +REQUESTPOWERNOTIFICATION ( ) +STOPPOWERNOTIFICATION ( ) +UPDATEDEVICEPOWERSTATE ( ) Provides the means for Power Manager to notify drivers about various system-level power state changes. E.g. : Plugging a new application

DEVICE CONTROL POWER MANAGER Provides a means for the Power Manager to get and set specific capabilities at the device driver level. Device drivers must support the Power Management States DEVICE DRIVER OR PROXY +GET DEVICE POWER CAPABILITIES ( ) +GET DEVICE POWER STATE ( ) + SET DEVICE POWER STATE ( )

DEVICE DRIVER INTRACTION WITH POWER MANAGER PM DEVICE NOTIFIER DEVICE DRIVER PM POLICY MANAGER BATTERY DRIVER RequestPowerNotification ( ) Query System State To Standby ( ) Accept System State Modification( ) Notify System State to LowBatt ( ) Notify System State to Standby ( ) Low Batt Event ( ) SystemOn Event ( ) Notify System State to On ( ) Get Batt Level ( ) Current Batt Level ( ) SEQUENCE DIAGRAM

DEVICE DRIVER INTRACTION WITH POWER MANAGER POLICY MANAGER –Monitors the Power State Change request. –Monitors the Battery charge life (Battery Driver). –Notifies when the battery is low. –In case of critical battery, it shuts down the whole system.

DEVICE DRIVER INTRACTION WITH POWER MANAGER Device drivers register themselves to receive notification from the PM Device Notifier. On detecting idle-state for the defined threshold, the Policy Manager sends a Query System State Mod to Standby event (in this example) to the device driver (through the Device Notifier) to check if the device drivers are ready to change the system state to Standby. The PM Device Notifier sends a Query System State Mod to all the device drivers registered with it. When all device drivers have accepted the Query, the PM Policy Manager puts the system into the new power state.

DEVICE DRIVER PM IN WIN CE.NET Handles Power requests sent by power manager. Inform power manager of the power capabilities of the device driver and the supported power modes. Power-up the device on system startup.. Power down the device when idle. Changes the device power states as per requirement.

APPLICATION LEVEL POWER MANAGEMENT CLASS DIAGRAM APPLICATION NOTIFICATION MANAGER +REQUESTPOWERNOTIFICATION ( ) +STOPPOWERNOTIFICATION ( ) PM NOTIFICATION INTERFACE SYSTEM LEVEL APPLICATION POWER MANAGER +GETSYSTEMPOWERSTATE ( ) +SETSYSTEMSTATETOON ( ) SYSTEM LEVEL PM INTERFACE

APPLICATION LEVEL POWER MANAGEMENT CLASS DIAGRAM DEVICE CONTROL POWER MANAGER +GETDEVICEPOWERSTATE ( ) +SETDEVICEPOWERREQUIREMENT ( ) DRIVER LEVEL PM INTERFACE

APPLICATION NOTIFICATION MANAGER The Application Notification Manager provides the means for the Power Manager to notify applications about various system-level Power state changes required. APPLICATION NOTIFICATION MANAGER +REQUESTPOWERNOTIFICATION ( ) +STOPPOWERNOTIFICATION ( ) PM NOTIFICATION INTERFACE

SYSTEM LEVEL APPLICATION POWER MANAGER The System- level Application PM is used to get and set system- level power states. It is also the means to get the current Battery state. SYSTEM LEVEL APPLICATION POWER MANAGER +GETSYSTEMPOWERSTATE ( ) +SETSYSTEMSTATETOON ( ) SYSTEM LEVEL PM INTERFACE

DEVICE CONTROL POWER MANAGER The Device Control PM provides a means for applications to set specific guidelines for devices that Applications can request to set the system power level. Applications can request the Power Manager to alter a device's power state transition. DEVICE CONTROL POWER MANAGER +GETDEVICEPOWERSTATE ( ) +SETDEVICEPOWERREQUIREMENT ( ) DRIVER LEVEL PM INTERFACE

APPLICATION INTRACTION WITH ANM

POLICY MANAGER –Monitors the Power State Change request. –Monitors the Battery charge life (Battery Driver). –Notifies when the battery is low. –In case of critical battery, it shuts down the whole system.

APPLICATION LEVEL POWER MANAGER SERVICES The Applications register themselves to receive notification from the App Notification Manager. On detecting idle-state for the defined threshold, the Policy Manager sends a Query Standby event to the Application. The Application Manager sends a Query System State Mod to all the applications registered with it. When all applications have accepted the Query, the App Notification Manager notifies the PM. Policy Manager which then puts the system into Standby state.

APPLICATION LEVEL POWER MANAGER SERVICES Set Device Power Requirement Release Device Power Requirement Acknowledge Set Device Power State Get Device Power State Device Power State