The term "power-off" in embedded or computing devices is the idea of stopping the operations of a piece of hardware unit itself, not by turning off the power, but by using some sort of preregistered hooks in software (kernel) to tell the machine that it is time to stop(turn off) the system peripherals and eventually entire hardware device.
Questions tagged [power-off]
44 questions
1
vote
1 answer
Cannot create any VM. Vagrant VM 'poweroff' state.
I have Mac OS X Capitan and Virtualbox version 5.0.24. When trying to run vagrant up I receive the error
A VirtualBox machine with the name 'xxxx' already exists
So I check the global-status and I find it already exists but in 'poweroff' state.…

user2288043
- 241
- 4
- 15
1
vote
0 answers
Power Off Message Android
I am using the following intent filters for detecting power off for a device

Parth Kapadia
- 433
- 2
- 18
1
vote
1 answer
Power on a Raspberry Pi with Arduino
I am working on a project which involves to power on/off a Raspberry Pi with an Arduino. In fact the project contains several sensors like a motion sensor and the Arduino will be supplied with a 10kmA battery.
The motion sensor is connected on the…

Erard Nicolas
- 21
- 2
1
vote
1 answer
Programmatically power off the windows machine immediately
Can I create a simple program to power off the windows machine immediately? I would like the behavior to be like pressing PWR OFF/RESET button. So the power is cut off immediately. Is there any way to send a software interrupt to motherboard to make…

HcTeP
- 11
- 1
1
vote
3 answers
How to detect android phone is being turned off?
I want to do something at instant the user turns off android phone. How can my app detect it programatically?

Muhammad Maqsoodur Rehman
- 33,681
- 34
- 84
- 124
1
vote
0 answers
InitiateSystemShutdown call on local computer
When using
InitiateSystemShutdown(null, null, 0, true, false);
some weird things happen. It all works well when I just call the function, also works fine build in my shut-down timer application but the thing is that it does not shut down pc when…

Lurker
- 17
- 1
1
vote
1 answer
How check in android application that phone are going to shutdown (power off)?
Is any method which i can call and it return to me information that phone actual going to shutdown (power off).
I know that is intent ACTION_SHUTDOWN but I have to get information about shutting down the phone form anther source. The best is…

LunaVulpo
- 3,043
- 5
- 30
- 58
0
votes
1 answer
Hard Boot Remotely
I wanted to know if we have mechnisms for hard booting a machine remotely. I know that we access a machine remotely, we can reboot it so that it restarts and remains logged off. But what I need is a option to shutdown the machine (i.e. power off)…

WPF-it
- 19,625
- 8
- 55
- 71
0
votes
1 answer
The difference both reboot and poweroff of Linux by systemctl control
Both reboot and poweroff are mapped to /bin/systemctl, how does systemctl control shutdown and restart. When entering reboot or poweroff, how does systemctl get which command should be executed?
It looks like both reboot and poweroff are linked to…

Junbo Zheng
- 5
- 2
0
votes
3 answers
turning pixels off
got a question about turning pixels off on a screen. I can make a black image and show it full screen on my pc. Yet the screen looks black but the pixels aren't off. You can see the difference between an off screen and a black screen.
I am…

dave123
- 421
- 1
- 6
- 15
0
votes
0 answers
What do I use as trigger for the task to fire when the shutdown menu is chosen via mouse?
My goal is to send sudo poweroff via ssh to a server that is attached to my computer via LAN when I choose the shutdown menu in windows 10 Home.
I tried the Windows Task Scheduler with
start at an event with System, User32 and 1074,
start at an…

Neo-S
- 21
- 3
0
votes
0 answers
Linux kernel IRQ to execute long action
I am implementing a kernel module to handle power-off event. Our HW setup will emit an IRQ when power cut-off happens, and device can run 200ms more after that. During this time I have to close all rw-opened Fd to avoid file corruption. I am…

Maluvel
- 425
- 1
- 6
- 13
0
votes
2 answers
is it possible to make PC or Linux machine shutdown for certain time and then make it come up again automatically?
I want to know if there is any way we can make either Windows or Linux machine shut down for let's say "N" minutes. and then it powers up automatically at the end of "N" minutes.
I know we can switch between OS using Grub from Linux and using third…

Shivam Chauhan
- 117
- 1
- 9
0
votes
0 answers
How to prevent forced power-off of ubuntu?
I have questions about a method to prevent forced power-off of ubuntu.
Since I had some trouble that Ubuntu 18.04 couldn't be boot GUI correctly after forced power-off by anyone, I want to know whether some approach exists to prevent or restore the…

YangSsong
- 87
- 1
- 8
0
votes
0 answers
How to listen for power off events in android, excluding restarts
I'm looking for a way to listen for a device being powered off in android, but I don't want to include device restarts. I found Intent.ACTION_SHUTDOWN which looked useful but that includes reboots, since the device is technically powered off then…

Caitlyn Wiley
- 44
- 1
- 4