A number of devices operate under the control of a power button to activate a power source. In some examples, power buttons may be hardware switches to activate the flow of power. In other examples, power buttons may be implemented in firmware. In yet other examples, power buttons may be implemented in a combination of firmware and hardware. In examples, a power source may be internal to the device, such as a battery, or external to the device, such as a wall power source. In some such devices, unpowered device may use an internal power source to operate certain components when a main power source is not operational.
The following detailed description references the drawings, wherein:
Devices generally have a power button in an easy to access location. Reconfigurable devices are devices that may be used in multiple configurations by changing an orientation or arrangement of components of the device. In some configurations, the power button may be disposed such that a user may inadvertently actuate the power button. Devices may operate in multiple power modes and it may damage a device to have the power button actuated inadvertently.
To address these issues, in the examples described herein, a device to disable a power button is described. In examples, the device includes a controller to determine to enter a disabled power event state. In such examples, the device may enter the disabled power event state according to the configuration of the device. In such examples, the device may enter the disabled power event state when a lid of the device is closed and the device is not coupled to a peripheral device.
Referring now to the drawings,
In examples, system 1000 may include device 10 and a peripheral device 50. In examples, device 10 may be a reconfigurable computing device. In such examples, peripheral device 50 may be coupled to device 10. In the following discussion and in the claims, the term “couple” or “couples” is intended to include suitable indirect and/or direct connections. Thus, if a first component is described as being coupled to a second component, that coupling may, for example, be: (1) through a direct electrical or mechanical connection, (2) through an indirect electrical or mechanical connection via other devices and connections, (3) through an optical electrical connection, (4) through a wireless electrical connection, and/or (5) another suitable coupling. For example, device 10 may be coupled to peripheral device 50 via a High-Definition Multimedia Interface (“HDMI”), a Video Graphics Array (“VGA”), a Universal Serial Bus (“USB”), a USB Type-C, or any other cable coupling mechanism. The term “connect” or “connected” is intended to include suitable direct connections. In examples, peripheral device 50 may be any type of peripheral device to couple to device 10. For examples, peripheral device 50 may be a peripheral device to couple to a computing device, such as a monitor, a keyboard, a mouse, a printer, etc.
In examples, power button 15 may be any device used to interrupt a flow of electrons in a circuit. In examples, power button 15 may be a mechanical and/or electrical switch to actuate the supply of power from power source 20 to device 10. In examples, power source 20 may be a main power source of device 10. In such examples, power source 20 may be an internal power source, such as a battery, or an external power source, such as a mains electrical supply, coupled to device 10. In examples, power button 15 may be disposed on or integrated into housing 11. In some examples, device 10 may include more than one power source 20. For example, device 10 may include a secondary power source, such as a battery, to power certain components of device 10 regardless of whether power source 20 is coupled to device 10 and actuated by power button 15 to supply power to device 10. In such an example, controller 100 may be powered by a secondary power source in some power states of device 10.
In examples, controller 100 may be any chip, expansion card, standalone device, or circuit to communicate with another component of the device 10. In examples, controller 100 may manage the operation of power button 15 and thereby power source 20. In examples, controller 100 may determine whether to disable or deactivate power button 15. In such examples, controller 100 may determine to enter a disabled power event state in which device 10 disregards a power button event of power button 15. As used herein, a “power button event” refers to actuation of the power button by physical means, such as a touch, a pull, a tap, etc. A “disabled power event state” refers to a state in which device 10 disregards a power button event passively acquired (i.e., received) or actively acquired (i.e., retrieved) in the device. In other words, device 10 may ignore or disregard actuation of power button 15 when in the disabled power event state. In contrast, an “active power event state” refers to a state in which device 10 responds to actuation of power button 15 to change a power state of device 10. In such examples, device 10 may be in any power state and may enter a different power state according to instructions stored in device 10. For example, in an active power event state, device 10 may power off in response to an acquired power event. In other examples, device 10 may power on in response to an acquired power event. In yet other examples, device 10 may enter a hibernate mode or sleep mode in response to an acquired power event.
In examples, controller 100 may determine to enter the disabled power event state according to a configuration state of device 10. In such examples, controller 100 may determine to enter the disabled power event state when angle 17 between side 5 and side 9 of housing 11 is within a certain range. In examples, the certain range may be less than 15 degrees. In other words, device 10 may enter the disabled power event state when the angle between side 5 and side 9 is less than 15 degrees, i.e., when a lid (either of side 5 or side 9) of device 10 is at least substantially closed. In the examples described herein, a lid of a device is considered “closed” when side 5 and side 9 are separated by less than 15 degrees. In other words, the lid of device 10 may be considered closed when angle 17 is in a range less than 15 degrees.
In examples, sensor 200 may be any sensor to determine angle 17 between side 5 and side 9. In examples, sensor 200 may be at least one of a G-sensor, a Hall sensor, an accelerometer, a MEMS accelerometer, etc. In an example, sensor 200 may be a G-sensor to sense the force of gravity on side 5 and side 9 and determine angle 17 accordingly. In examples, sensor 200 may be integrated into controller 100 or may be a separate component of device 10.
In examples, interface 110 may be any input/output interface to couple device 10 to peripheral device 50. In examples, interface 110 may be hardware and/or a combination of firmware and hardware to couple device 10 to peripheral device 50. For example, interface 110 may be a general purpose input/output (“GPIO”). In such an example, controller 100 may determine whether peripheral device 50 is coupled to device 10 by polling a pin status of the GPIO. In such examples, controller 100 may determine to remain in an active power event state in response to determining a peripheral device 50 is coupled to the device 10. In other words, when a peripheral device 50 is coupled to device 10, power button 15 may remain activated regardless of the relative position of side 5 and side 9. In examples, interface 110 may be a component of controller 100.
Although execution of method 300 is described below with reference to device 10 and system 1000 described above, other suitable systems for the execution of method 300 can be utilized. Additionally, implementation of method 300 is not limited to such examples.
At 302 of method 300, device 10 may determine if peripheral device 50 is coupled to device 10. In the example of
At 304, device 10 may determine if a lid of device 10 is closed when peripheral device 50 is uncoupled to device 10. In examples, a lid of device 10 may be closed when side 5 of housing 11 and side 9 of housing 11 are less than 15 degrees apart. In such an example, sensor 200 may be a G-sensor to determine an angle between side 5 and side 9. In other examples, sensor 200 may be Hall sensor to determine when the lid of device 10 is closed. In such an example, sensor 200 may determine whether side 5 and side 9 are within a certain proximity to each other based on a generated magnetic field.
At 306, device 10 may activate the disabled power event state of device 10. In examples, controller 100 may disable power button 15 in the disabled power event state. In some examples, controller 100 may disable power button 15 via hardware and/or firmware.
At 308, device 10 may passively acquire (i.e., receive) or actively acquire (e.g., retrieve) a power event of device 10. In examples, the power event may be actuation of power button 15.
At 310, device 10 may ignore the power event. In examples, controller 100 may disregard or ignore the power event. In such examples, actuation of power button 15 may not alter a power state of device 10.
Although the flowchart of
At 402 of method 400, device 10 may determine if peripheral device 50 is coupled to device 10.
At 404, controller 100 may poll interface 110 to determine whether peripheral device 50 is coupled to device 10. In the example of
At 406, device 10 may determine if a lid of device 10 is closed when peripheral device 50 is uncoupled to device 10. In examples, a lid of device 10 may be closed when side 5 of housing 11 and side 9 of housing 11 are less than 15 degrees apart. In such an example, sensor 200 may be a G-sensor to determine an angle between side 5 and side 9. In other examples, sensor 200 may be Hall sensor to determine when the lid of device 10 is closed. In such an example, sensor 200 may determine whether side 5 and side 9 are within a certain proximity to each other based on a generated magnetic field.
At 408, device 10 may activate the disabled power event state of device 10. In examples, controller 100 may disable power button 15 in the disabled power event state. In some examples, controller 100 may disable power button 15 via hardware and/or firmware.
At 410, device 10 may passively acquire (i.e., receive) or actively acquire (e.g., retrieve) a power event of device 10. In examples, the power event may be actuation of power button 15.
At 412, device 10 may ignore the power event. In examples, controller 100 may disregard or ignore the power event. In such examples, actuation of power button 15 may not alter a power state of device 10.
Although the flowchart of
In examples described herein, a processing resource may include, for example, one processor or multiple processors included in a single computing device (as shown in
As used herein, a “machine-readable storage medium” may be any electronic, magnetic, optical, or other physical storage apparatus to contain or store information such as executable instructions, data, and the like. For example, any machine-readable storage medium described herein may be any of Random Access Memory (RAM), volatile memory, non-volatile memory, flash memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disc (e.g., a compact disc, a DVD, etc.), and the like, or a combination thereof. Further, any machine-readable storage medium described herein may be non-transitory.
In the example of
In instructions 524, device 10 may acquire from sensor 200 angle 17 between side 5 and side 9. In examples, sensor 200 may be a G-sensor.
In instructions 526, device 10 may disable power button 15 when angle 17 is less than a certain range and peripheral device 50 is uncoupled to computing device 50. In such an examples, the certain range may be less than 15 degrees. In such examples, device 10 may be in disabled power event state when device 10 is uncoupled to peripheral device 50 and angle 17 is less than 15 degrees. In contrast, device 10 may be in an active power event state when device 10 is coupled to peripheral device 50 regardless of the size of angle 17. In such examples, peripheral device 50 may be a monitor, a keyboard, a mouse, a printer, etc.
In some examples, instructions 522, 524, and 526 may be part of an installation package that, when installed, may be executed by processing resource 510 to implement the functionalities described herein in relation to instructions 522, 524, and 526. In such examples, storage medium 520 may be a portable medium, such as a CD, DVD, flash drive, or a memory maintained by a computing device from which the installation package can be downloaded and installed. In other examples, instructions 522, 524, and 526 may be part of an application, applications, or component already installed on computing device 500 including processing resource 510. In such examples, the storage medium 520 may include memory such as a hard drive, solid state drive, or the like. In some examples, functionalities described herein in relation to
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2016/054539 | 9/29/2016 | WO | 00 |