Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
POWER MANAGEMENT OF NETWORKED DEVICES
Document Type and Number:
WIPO Patent Application WO/2009/134894
Kind Code:
A3
Abstract:
A network-centric, power management system and method is disclosed for monitoring and controlling device nodes attached to a network. The monitoring and controlling includes collecting and processing information available on the network about the device nodes and using the collected information to manage power on the device nodes.

Inventors:
MUKHERJEE SHANKAR (US)
WALRAND JEAN (US)
BAMBOS NICHOLAS (US)
Application Number:
PCT/US2009/042120
Publication Date:
February 18, 2010
Filing Date:
April 29, 2009
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MUKHERJEE SHANKAR (US)
WALRAND JEAN (US)
BAMBOS NICHOLAS (US)
International Classes:
H04W52/02; H04L69/40
Foreign References:
US20030009705A12003-01-09
US20060259201A12006-11-16
US20050049760A12005-03-03
US20040163000A12004-08-19
US20080002603A12008-01-03
Other References:
See also references of EP 2272287A4
Attorney, Agent or Firm:
GOTTLIEB, Kirk, A. (P.O. Box 1022Minneapolis, MN, US)
Download PDF:
Claims:

CLAIMS WHAT IS CLAIMED IS:

1. A system for managing power consumption of a device node attached to a communication node of a communication network, the system comprising: an interface configurable for coupling to the communication node; and a controller coupled to the interface and operable for learning an activity pattern at the device node, generating a command based on the learned activity pattern, and sending the command to the device node for setting the device node into an operational mode associated with power consumption.

2. The system of claim 1, where the operational mode includes turning the device node on or off.

3. The system of claim 1, where learning an activity pattern includes learning a usage pattern associated with the device node and a user.

4. The system of claim 1, where learning an activity pattern includes learning a user location pattern associated with the device node and a user.

5. The system of claim 1, where the controller is responsive to information other than detected activity.

6. The system of claim 1, where the information includes control rules.

7. The system of claim 1, where learning an activity includes monitoring one or more of: user calendar information residing at the device node, user location relative to the device node, user login history associated with the device node, user usage history associated with the device node and user input entered at the device node.

8. The system of claim 1, where the learning activity is based on one or more of: a user response to a system request or communication and a sensed user activity in a device node environment.

9. The system of claim 1, where the controller estimates a probability of a user being proximate to the device node.

10. The system of claim 1, further comprising: a repository for storing power usage profiles for monitored device nodes; and a display for presenting a power usage profile selected by a system operator.

11. The system of claim 10, further comprising: a processing facility operable for using the repository and display for extracting or building power usage profiles of monitored device nodes which are selected by the system operator.

12. The system of claim 11, where the processing facility initiates an alarm at a monitored device node based on evaluation of power usage associated with the monitored device node or the communication network.

13. A method of managing power consumption of a device node attached to a communication node of a communication network, comprising: learning an activity pattern at the device node; generating a command associated with the learned activity pattern; and sending the command to the device node, the command for setting the device node into an operational mode associated with power consumption.

14. The method of claim 13, where the operational mode includes turning the device node on or off.

15. The method of claim 13, where learning an activity pattern includes learning a usage pattern associated with the device node and a user.

16. The method of claim 13, where learning an activity pattern includes learning a user location pattern associated with the device node and a user.

17. The method of claim 13, where the information includes control rules.

18. The method of claim 13, where learning an activity includes monitoring one or more of: user calendar information residing at the device node, user location relative to the device node, user login history associated with the device node, user usage history associated with the device node and user input entered at the device node.

19. The method of claim 13, where the learning activity is based on one or more of: a user response to a system request or communication and a sensed user activity in a device node environment.

20. The method of claim 13, further comprising estimating a probability of a user being proximate to the device node.

Description:

POWER MANAGEMENT OF NETWORKED DEVICES

TECHNICAL FIELD [0001] This subject matter is generally related to power management.

BACKGROUND

[0002] Conventional power management techniques used by computing devices often operate in an autonomous fashion. For example, a given device can automatically enter a power-saving mode based on a level of activity associated with the device. In a networked environment, however, a computing device can have multiple users. In an office or business environment, both a user of the device as well as a person in charge of maintenance of the device may use the device at different times. Typically, the person in charge of the maintenance is a remote user. In a home environment, multiple users may access information and/ or run an application on the same device. In this case, only one of the users are co-located with the device.

[0003] Conventional autonomous power management techniques take into account current activity levels in computing devices, not activities being initiated or soon to be initiated by one or more remote users. Hence, conventional autonomous power management techniques may not be effective in a networked environment in a home or office.

SUMMARY

[0004] A network-centric, power management system and method is disclosed for monitoring and controlling device nodes attached to a network. The monitoring and controlling includes collecting and processing information available on the network about the device nodes and using the collected information to manage power on the device nodes.

[0005] The power management system and method improves power management of enterprise office computing and communication device nodes (e.g., desktop computers, phones, printers, scanners, access points, switches, etc.) in small, medium, or large enterprises, including corporations, organizations, government, i

etc. It also improves power management of enterprise office or building automation device nodes (e.g., sensors, actuators, cameras, alarms, etc.) that are supported by a networking and computing infrastructure. The system and method improves power management for networked device nodes used in home computing, and entertainment, as well as home automation. Power management of enterprise and home computing and building automation can yield substantial power and cost savings using the system and method.

DESCRIPTION OF DRAWINGS [0006] FIG. 1 is a block diagram of an example power management system.

[0007] FIG. 2 is a block diagram of an example communication node of the power management system of FIG. 1.

[0008] FIG. 3 is a block diagram of an example control node of the power management system of FIG. 1.

[0009] FIGS. 4 and 5 are block diagrams of an example device node of the power management system of FIG. 1.

[0010] FIG. 6 is a block diagram of an example of a global system architecture for managing power at device nodes.

[0011] FIG. 7 illustrates an example activity traces for selecting power management actions for two different device nodes.

[0012] FIG. 8 is a flow diagram of an example control process for the power management system of FIG. 1.

DETAILED DESCRIPTION

Network-Centric Power Management System Overview

[0013] A typical office and home has multiple devices that consume power.

For example, many homes and offices are equipped with at least a computer and a printer. Because the user can use only one device at a time, the usage of each device can be low on average. Despite this low average usage, many users keep their devices on at all times resulting in a high power cost. Generally speaking, the reason to keep all devices on is that: (1) there is uncertainty as to which device the user will use next and when, and (2) the user is sensitive to waiting for a device to power up. Hence, the high power cost is traded for potential latency cost.

[0014] The system 100 can improve the power-latency tradeoff by reducing the uncertainty concerning which device (e.g., when and where) the user will use next. To reduce this uncertainty, the power management system 100 can (1) increase the volume and improve the quality of data collected about the user, (2) fuse and correlate the data for decision making, and (3) use more intelligent decision making processes for powering up/ down devices in anticipation of user request for usage and input. To address the aforementioned issues, among others, the system 100 can track the user through a network and monitors the user's interactions with the network and with devices connected thereto.

[0015] The system 100 is network-centric in that it manages a network periphery of connected device nodes from the vantage point of the network, where information from various device nodes can be collected, integrated and acted upon. This approach is in contrast to conventional power management techniques that are device-centric, trying to optimize power usage on each individual device node in isolation. Therefore, conventional power management techniques miss the benefits of capturing and correlating network-wide data about the location and operational context of the user to tightly anticipate device node usage request and get user input. For example, when the power management system 100 is installed in an enterprise network detects that a user's laptop (or other mobile device) is connected to an enterprise WiFi access point that is remote from the user's office, the system 100 can determine that the user is away from the office and that the user's computer can be shutdown.

[0016] The system 100 can be non-invasive to the user's enterprise and home network architecture and operations. For example, in some implementations the system 100 may not require installing any software client on the managed device nodes (clientless). The system 100 may even be implemented in a box or appliance that can be coupled into a network and be given "read permissions" to enterprise server log files.

[0017] The system 100 can be scalable to large numbers of device nodes and robust enough to avoid disruption of enterprise or home operations due to inadvertent instability or planned attack. The system 100 can avoid "a single point of failure" by being deployed in a distributed implementation combined with managed redundancy.

Example Power Management System Architecture

[0018] FIG. 1 is a block diagram of an example power management system

100. In some implementations, the system 100 can include communication nodes 102, control nodes 104, device nodes 108 which are interconnected by communication links 106. The device nodes 108 are power-managed by the control nodes 104. The device nodes 108 and the control nodes 104 are networked through the communication nodes 102 and communication links 106. In some implementations, the communication node 102 is connected to device nodes 108a...108d and control nodes 104a...104b through communication links 106a...106e. The communication node 102 may also be connected to other communication nodes through communication links, being part of a larger communication network. [0019] Communication node 102 can have at least information communication capabilities and optionally information processing capabilities. The communication node 102 allows unidirectional and/ or bidirectional transfer of communication messages from at least one communication port or interface to another communication port or interface. Some examples of the communication node 102 include one or more of: a wireline packet switch, a telephone switch, a wireless access point, etc.

[0020] Communication links 106 can be, for example, bidirectional or unidirectional, digital or analog, wireline (e.g., electrical, optical, Ethernet, ATM) or

wireless (e.g., radio, WiFi, WiMax, GSM, satellite, optical infrared), or any combination of the above. Indeed, communication links 106 can be supported by any known communication medium and any communication technology. [0021] Control nodes 104 can have information communication and/or processing capabilities. The control nodes 104 can have at least one communication port or interface to which at least one communication link 106 is coupled and allows information communication between the control nodes 104 and other elements of the system 100, including one or more communication nodes 102, device nodes 108, other control nodes 104, etc. For example, the control node 104a can comprise one or more processors, processing cores or microcontrollers, residing on a computer host, a computer server, or specialized electronic equipment, etc. The control node 104a can be implemented in hardware or software or a combination of both, and/ or implemented as a software process or processor embedded in a larger system. [0022] The device nodes 108 can have information communication capability and/ or one or more other capabilities, including but not limited to: computing, processing, command, control, sensing, actuating, or any combination of those. The device nodes 108 can have at least one information communication port and/ or interface to which a communication link 106 is coupled and allows information communication between a given device node 108 and other elements of the system 100, including one or more communication nodes 102, control nodes 104, other device nodes 108, etc. For example, a device node 108a can be one of the following devices (or a group of them) with a communication interface, which devices include but are not limited to: computers (e.g., desktop, laptop, etc.), personal digital assistants (PDAs), wireless phones, printers, scanners, home "network attached storage" devices, light switches, electrical outlets, home entertainment units (video recorders, etc.), surveillance cameras, set-top boxes, media players, etc. [0023] In some implementations, the device nodes 108a can be power managed by at least one control node 104a, which can include a controller. For example, in FIG. 1 a control node 104a communicates with a device node 108a through the communication node 102, using communication link 106b. In other

implementations, the communication node 102 may partially overlap or be embedded in a device node 108a or control node 104a and vice versa. [0024] For example, consider a desktop computer (device 108a) which is connected through an Ethernet port to a switch (communication node 102). Connected to the computer 108a through a port (e.g., a USB port) is a printer (device 108b), which is not connected to any other device 108 but only to the computer 108a. The computer 108a is power managed by the control node 104a which is connected to the switch 102 through the Ethernet. The printer 108b is power managed by control node 104b which is also coupled to the switch 102. Note that in the previous configuration the computer 108a is the device node 108a that is power managed by the control node 104a through the switch 102. The printer is device node 108b which is power managed by the control node 104b through the switch 102 and the computer 108a. Thus the computer 108a can be both a device node 108 power managed by the control node 104a and a communication node 102 mediating power management of the printer 108b by the control node 104b.

Example Communication Nodes

[0025] FIG. 2 is a block diagram of an example communication node 102 of the power management system 100 of FIG. 1. In some implementations, the communication node 102 can include one or more communication interfaces 208. The communication interfaces 208 can send and/ or receive messages to other communication nodes 102, control nodes 104, or device nodes 108 to which the interfaces 208 are coupled. The communication node 102 of FIG. 2 includes a communication detour engine 200, which can have the capability to: (a) intercept a communication message destined for a control node 104 by recognizing the destination address of the message, (b) remap the destination address of the incoming message to the addresses of one or more control nodes 104, and (c) divert the communication message to the control nodes 104. The communication detour engine 200 can include a communication interception engine 202, which can intercept a message arriving from a communication interface 208 through a data path 210 and destined to a device node 108. The communication detour engine 200 can also include a communication mapping engine 204, which can remap a destination

address of an intercepted message to addresses of one or more control nodes 104. The communication detour engine 200 also includes a communication diversion engine 206, which is able to divert the intercepted message (with the now remapped original destination address to the addresses of one or more control nodes 104) and output it to a communication interface 208 of the communication node 102 through a data path 210. The communication interface 208 can transmit the intercepted message with a remapped destination address to the control node 104 whose address the message's original destination address has been remapped. The transmission to the control nodes 104 can occur either directly or indirectly through other communication nodes 102. The communication node 102 may have software and/ or hardware components supporting functionalities, including electronic circuitry for running the software (e.g., special digital circuitry, embedded processor, microprocessor) .

Example Control Nodes

[0026] FIG. 3 is a block diagram of an example control node 104 of the power management system 100 of FIG. 1. In some implementations, the control node 104 includes at least one communication interface 300. The control node 104 can include one or more device deputy engines 304. For example, there can be one device deputy engine 304 for each device node 108 that the control node 104 controls. The device deputy engine 304 can have the capability to substitute for one or more services and/ or functionalities that a device node 108 corresponding to the device deputy engine 304 shuts off or ceases having operation. The shutoff or cease of operation can occur when the device node 108 switches to a lower operational mode where less power is consumed than a higher operational mode. In particular, a device deputy engine 304 can selectively respond to a subset of incoming service requests to corresponding device node 108, which incoming service requests are being diverted to the device deputy engine 304 by the communication diversion engine 206 of the communication detour engine 200 of the communication node 102. The device node 108 also can include a deputy supervisor engine 302, which supervises and coordinates one or more device deputy engines 304 corresponding to controlled device nodes 108. The control node 104 may have software and/ or hardware

components supporting its functionalities, including electronic circuitry for running the software (e.g., special digital circuitry, embedded processor, microprocessor).

Example Device Nodes

[0027] FIGS. 4 and 5 are block diagrams of an example device node 108 of the power management system 100 of FIG. 1. Referring to FIG. 4, in some implementations, a device node 108 can include at least one communication interface 400. The device node 108 can exist in one of a plurality of operational modes. At least one operational mode can be defined by services and/ or functionalities of the device node 108 that remain active, services and/ or functionalities of the device node 108 that are inactive or dormant, and/ or overall power used during an operational mode. Note that at least two different operational states may use the same amount of power. The device node 108 can include a quench engine 402 that can switch the device node 108 to a lower operational mode that uses lower power than the previous operational mode. The switch to a lower operational mode can occur in response to commands sent by a control node 104 controlling the device node 108. [0028] The device node 108 can include a revive engine 404 that can switch the device node 108 to a previous, higher operational mode that uses higher or equal power than the previous operational mode and has a different combination of active services and/ or functionalities. Note that the device node 108 can also switch to a special operational mode where the device node 108 is fully off, such as being powered down, except for a minimal communication capability to respond to controller commands and fully on (e.g., fully powered up). [0029] The device node 108 can have software and/ or hardware components supporting functionalities of the device node 108, including electronic circuitry for running software (e.g., special digital circuitry, embedded processor, microprocessor) .

[0030] Referring now to FIG. 5, further details of an example device node 108 are described. In this example implementations, the device node 108 can include one or more power consumption units 504 that consume power. Also included is electronic control circuitry 502 that controls the power consumption units 504. At

least one of the power consumption units 504 can be set to one or more power consumption levels. An example power consumption mode can be that a power consumption unit 504 is completely shut off. Another example of a power consumption mode can be that a power consumption unit 504 is fully powered up. Intermediate power consumption states or modes can exist between completely shut off and fully powered up. The quench engine 402, which can be responsive to commands sent by the control node 104 controlling the device node 108, can switch one or more of the power consumption units 504 to a lower power consumption mode than the current power consumption mode, using the electronic control circuitry 502. The revive engine 404, which can be responsive to commands sent by a control node 104 for controlling the device node 108, can switch one or more of the power consumption units 504 to a higher power consumption mode than the current power consumption mode using the electronic control circuitry 502. [0031] To illustrate by example, consider a case of a device node 108 that is a laser printer. The laser printer can have several power consumption units 504. For example, the motor that drives the motion and flow of paper sheets can be a power consumption unit 504a, the heating elements supporting the printing process can be a power consumption unit 504b, the motor that runs the cooling fan can be a power consumption unit 504c, etc. At least one of the power consumption units 504 can be set to various power consumption modes. For example, the paper moving motor may be set to faster or slower modes, depending on how fast or slow the printer is printing, where the faster the motor runs the more power is consumed by the laser printer. Also, the cooling fan motor may be set to faster or slower modes, depending on the temperature of the printer case and/ or printer operating environment, where the faster the motor runs the more power is consumed. Similarly, at least one power consumption unit 504 in at least one power managed device node 108 can be set at a point in time to one of a plurality of power consumption modes.

Global System Architecture

[0032] FIG. 6 is a block diagram of an example of a global system architecture

600 for managing power at device nodes 604. The device nodes 604 are coupled to one or more computer servers 602a or control appliances 608 through a network 606.

The network 606 can be, for example, the Internet, enterprise or corporate Intranets, the telephone network, a wireless network, etc. In some implementations, the control node 104 (FIG. 1) that power manages one or more device nodes 108 can be implemented in software on the computer servers 602, leveraging the hardware infrastructure provided by the computer servers 602. In another implementation, the control node 104 that power manages one or more of the device nodes 108 can be implemented as a separate control appliance 608 coupled to the communication network 606. The control appliance 608 can include software and hardware components for supporting the control node 104 functionalities, including electronic circuitry for running the software (e.g., special digital circuitry, embedded processor, microprocessor), digital storage, etc.

Collecting Operational and Power Usage Data

[0033] In some implementations, a device node 108 and a corresponding control node 104 monitor, collect and process operational and/or power usage data of the device node 108. Operational data can reflect the activities the device node 108 is undertaking. For example, data backups or virus scans for a personal computer, printing or idling for a printer, recording or idling for a camera with a motion sensor, etc. Power usage data can refer to how much power and for what purpose the device node 108 is consuming (perhaps, broken down per activity). For example, in a personal computer the operating system (e.g., Windows, Linux, Mac OS) can collect power usage data and send the data to a corresponding control node 102 in response to trigger events or on a scheduled basis (e.g., periodically). In another example, the corresponding control node 104 can install a software client on the device node 108 power managed by the control node 104 to collect operational and power usage data and upload the data to the control node 104.

Network Power Profiling

[0034] In some implementations, to leverage the power management functionalities of device nodes 108 and control nodes 104, the system 100 monitors and displays power usage profiles of one or more device nodes 108 coupled to or integrated with the communication network 606. The power usage profiles can be displayed in an suitable form for network operators and/ or power managers.

Device nodes 108 that couple to the network 606 components (e.g., switches, hubs, routers) which have power monitoring and management capabilities can be viewed as device nodes 108 and selected by the network operator and/ or power manager for monitoring and display. The power usage profiles of device nodes 108 can include an instantaneous power consumption, as well as a cumulative power consumption over time, and other statistics, averages, variances, etc. This data extracted from monitored device nodes 108 can be collected and deposited in a power consumption data repository (e.g., a database) at a processing facility (e.g., a server at a data center) and used to extract and build power usage profiles of monitored device nodes 108, which can be selected by a network operator and/ or power manager. The power usage data and corresponding profiles can be processed and presented in appropriate graphic formats on a display facility (e.g., monitor, video wall, projection screen) for the network operator and/ or power manager to view. [0035] Therefore, the network operator and/ or power manager can: 1) select one or more device nodes 108 coupled to the network 606 or integrated with the network 606 (e.g., switches, links), and 2) collect power usage data from these device nodes 108, and 3) view the profiles on a monitor. Hence, the network operator and/ or power manager can then evaluate the power usage on the network and take appropriate measures and responses, for example, set alarms to sound when power usage exceeds certain thresholds, etc.

[0036] In some implementations, a system for managing power consumption of a device node attached to a communication node of a communication network includes an interface configurable for coupling to the communication node; and a controller coupled to the interface and operable for monitoring activity at the device node, and, responsive to detected activity at the device node, operable to send a command to the device node for setting the device node into an operational mode associated with power consumption. The operational mode can include turning the device node on or off.

[0037] The monitoring activity can include learning an activity pattern associated with the device node. The monitoring activity can include learning a usage pattern associated with the device node and a user. The monitoring activity

can include learning a user location pattern associated with the device node and a user. The monitoring activity can include monitoring one or more of: user calendar information residing at the device node, user location relative to the device node, user login history associated with the device node, user usage history associated with the device node and user input entered at the device node.

[0038] The detected activity can be a sensed user activity in a device node environment (e.g., user motion detected by a motion sensor in the environment of the device node). The controller can be responsive to information other than detected activity (e.g., control rules). For example, the control can be responsive to a user response to a system request or communication. For example, the system 100 can display a pop up menu or other notification to the user at the device requesting input, then waiting for the input to determine if the user is currently present at the device node. If the device node has telephony capability (e.g., a mobile phone), then the system 100 can ring the device node and see if the user answers the ring. Similarly, the system 100 can send an email, Instant Message or other communication to the device node and wait for the user to answer. When the user responds, the user can provide identifying information to the system 100, so that activity, usage and/ or location patterns associated with the user can be updated.

[0039] In some implementations, the controller can estimate a probability of a user being proximate to the device node (e.g., in the same location as the device node).

Deciding Which Device Node to Quench/Revive

[0040] Referring to FIG. 1, consider the following exemplary operational scenario. A user has two device nodes 108: a computer at the office 108a and a computer at home 108b. The device nodes 108 are controlled by a control node 102a, where there is a deputy device engine 304a (FIG. 300) for the office computer 108a and a deputy device engine 304b for the home computer 108b, and the deputy device engines 304a, 304b are coordinated by the deputy supervisor engine 302. The control node 102a decides to set both device nodes 108a, 108b to a low operational mode where some services and functionalities, including Voice-over-IP (VoIP) telephony (e.g., Skype®), are disabled. Before putting both device nodes 108a, 108b into the

low operational mode, the control node 102a informs the communication node 102 for which incoming communication messages to device nodes 108a, 108b pass, to divert the communication messages to the corresponding device deputy engines 304a, 304b of the device nodes 108a, 108b. Suppose now that a VoIP connection service request comes to the user from a caller. In this case, the communication node 102, through the communication detour engine 200, diverts the incoming message to the device deputy engines 304a, 304b of the device nodes 108a, 108b. The two device deputy engines 304a, 304b, which are coordinated and supervised by the deputy supervisor engine 302, decide between one or more of a plurality of alternatives, for example, including: dropping the request, redirecting the request to a voice box, reviving the VoIP capability on the home computer 108b only and directing the call to the home computer 108b, reviving the VoIP capability on the office computer 108a only and directing the call to the home computer 108a or revising the VoIP service on computers 108a, 108b and directing the call to computers 108a, 108b.

Device Control

[0041] This section describes how to estimate a location and likely future activity of a user. This section also describes how to use this estimation to select one or more actions to minimize energy consumption of a device node while limiting inconvenience to users. The goal of the device control is to derive estimators that require a limited amount of state information.

Overview

[0042] FIG. 7 illustrates an example activity traces 700, 702 for selecting power management actions for two different devices. In an example scenario, a user regularly uses Device Node 1 and Device Node 2 in locations {1, 2,..., N}. Assume that the system 100 knows when the user is actively using each device node, either through periodic polling or with a device-based client. Actively means activities that require the presence of the user, as opposed to applications that are running without the need for local user interactions. The activity trace 702 for Device Node 1 includes periods of activity 704 which are represented by shaded rectangles. Similarly, the activity trace 706 corresponding to Device Node 2 includes periods of activity 708.

The longer the rectangle, the longer the period of activity. The power management system 100 monitors traces 700, 702, then selects appropriate power-saving actions based at least in part on the observations. Some examples of actions can include placing the device nodes in at least one of a number of possible states (e.g., OFF, ON, SLOW, SLEEP).

Actions

[0043] In some implementations, rules for determining actions can be described using conditional statements. For the rule descriptions that follow, T designates time until a device node is again active, where time can be measured in minutes or any other desired unit, S designates an event that some application should keep running in background at slow speed, F designates an event that an application must run in background at full speed, and P(A) is a marginal probability that the user is active during the next x minutes (e.g., 20 minutes).

RULE 1:

If user becomes inactive, if P(T < 120) < 5%, then SLOW if S, ON if F, OFF otherwise; if P(T < 120) > 5% and P(T < 60) < 5%, then SLOW if S, ON if F, SLEEP otherwise; or if P(T < 20) > 5%, then stay ON.

RULE 2:

If device is not ON, unless RULE 3 is active if P(A) > 30%, ON; if 10% < P(A) < 30%, SLOW; or if 5% < P(A) < 10%, SLEEP.

RULE 3: If user of device is active on another device that is not close, cancel RULE 2.

[0044] The values in the rules described above can be adjusted. Moreover, the values may depend on a category of users. An estimator can use the activity traces 700, 702 to calculate relevant probabilities.

Estimation

[0045] The marginal probability, P(A), that a user is active can be estimated from collected data. For example, time can be divided into x-minute time epochs (e.g., 20 minute) for one or more days of the week. For each such epoch, P(t) is the probability that the user is actively using the device during that time epoch. One possible update of an estimate of P(t) can be

P(t) := (1- α)P(t) + αl {user actively using device at t}.

[1]

[0046] When a new time epoch t occurs (e.g., after one week), the system 100 can update the estimate of the probability, P(t), according to a first order linear filter. In this expression, α is a real number between 0 and 1 that characterizes the ability of the estimator to adapt to changes in operating conditions. If α is close to one, then the estimator has a short memory and adapts fast to recent conditions; however, the estimator also tends to be less reliable. A suitable value of α can be determined by experiments. Using this estimate, one then calculates

P(A) = max{P(t), P(t + 1)},

[2] where t is the time epoch of a current activity A.

[0047] One can use a different definition of epoch. For instance, one might use different durations and a different classification of days. For example, one might wish to have longer time epochs during the night and shorter time epochs at the beginning and end of the day and possibly around Noon. Also, neighboring epochs can be used to estimate the probability of activity A in a given time epoch t. For example, P(T < 20), P(T < 60), P(T < 120) is the probability of time until a device node becomes active again.

[0048] For every time epoch t, if the user becomes inactive during the time epoch t, the system 100 can keep track of the time T(t) until the user becomes active on the device node again. The system 100 then updates estimates P(t; 20) of P(T < 20) and corresponding estimates P(t; 60) and P(t; 120) as follows:

P(t; 20) := (1 - α)P(t; 20) + αl{T(t) < 20}, [3]

and similarly for the other estimates.

User Location

[0049] Assume that the user is inactive at some time t and the system 100 wants to determine the user's most likely location. One approach is to compare the values of b(i) = P(t-2) + P(t-l) +P(t) + P(t+1) + P(t+2),

[4] for different device nodes i. In [4], b(i) is an indication of the likelihood that the user is active around time t. The sum in [4] takes into account the uncertainty about the precise arrival time at a given location.

[0050] A more complex procedure can be used to bias the location estimate using a last active device node and a time since the last detected activity at the device node. For example, if the user was last seen active at device node i and than he stopped being active s time units before time t. One could use a location estimate given by q(j) = l{j = i}exp{- Ks} + (1 - exp{- Ks})bfl)/[b(l) + ... + b(N)]. [5]

[0051] The justification for this estimator is that when s is small, the user is likely to be close to the device i the user last used and when s is large, the user is more likely to have moved to the device node used by the user most often around that time.

Example Control Flow

[0052] FIG. 8 is a flow diagram of control process 800 for the power management system of FIG. 1. In some implementations, the system 100 can poll devices periodically and/ or in response to a trigger event. The process 800 can begin by collecting data from a device node (802). The data collected from the device node can be used to make various determinations, including but not limited to the following determinations:

• Is the device node active at the polling time?

• Are there background tasks running at the device node? Are the tasks of type S (slow) or F (fast)?

• Who is the user logged on the device node?

[0053] A marginal probability, P(A), that a user is in an (A)ctive state during the next x minutes (or any desired unit of time) can be updated based on the collected data (804). For example, based on the collected data the following statistics can be updated:

• P(t) = P(active at time t).

• Update equation: P(t) := (1 -α)P(t) + αl {user actively using device at t}.

• P(t; x) = P(inactive device at t becomes active again within x minutes).

• Update procedure:

If device becomes inactive at t, start register with T(t) = 0;

At time t+1, if device is still inactive, add x time to T(t); else add y time to T(t);

Repeat until device becomes active again; The result of this update procedure is a new sample value of T(t);

P(t; x) := (1 - α)P(t; x) + αl{T(t) < x}.

• q(j; t) = P(User is close to device i at time t).

• Update procedure. q(j; t) = l{j = i}exp{- Ks} + (1 - exp{- Ks})b(j)/[b(l) + ... + b(N)] where s = last time that the user was active at device i; i = that device; b(i) = P(t-2) + P(t-l) +P(t) + P(t+1) + P(t+2) for device i.

• P(S) = probability that user finds device in a (S)leep state when the user wants to use the device.

• Update procedure. When system polls device at time t and finds it active whereas the device was in the Sleep state at time t - 1, the system notes S(t) = 1; otherwise S(t) = 0. Then P(S) := (1 -a )P(S) + αS(t).

• P(O) = probability that user finds device node in an (O)ff state when he wants to use the device node.

• Update procedure. When system polls device at time t and finds the device active whereas the device was in the Off state at time t - 1, the system notes O(t) = 1; otherwise O(t) = 0. Then P(A) := (1 - α)P(A) + αO(t).

[0054] Next, control rules can be adjusted based on the updated probabilities

(806). A goal of this step is to tune the control rules to make sure that targets defined by a device node profile are met. These targets concern the probability that the user finds the device node in a Sleep or Off state when the user wants to use the device node.

[0055] If P(O) exceeds the target, then the system 100 should wake up more aggressively or turn off less frequently. This can be accomplished by replacing the 5% in the first part of Rule 1 by 4%, replacing 4% by 3%, and so on. If P(O) is smaller than the target, then one replaces 5% by 6%, etc. P(S) can be adjusted in a manner similar to adjusting P(O).

[0056] Power-saving actions can be selected based on the adjusted control rules (808). Power-saving actions can include but are not limited to placing the device node in a new state (e.g., Off, On, Slow, Fast).