Hi folks,
I'm new to the forum, so I hope this is the right place to ask?
I've just installed AndroidX86 on an Intel NUC to use as a console display. However, I want to turn it off over night so that power isn't wasted (and so it doesn't light everything up!).
I tried using scripts like Tasker and Automate to turn off the screen at 11PM and wake it up at 8AM, however it appears that the whole machine goes to sleep and can't wake itself up. As a compromise, I thought I could try to disable the screen only - but I can't find a way to do this. Every method I try will put the Intel NUC to sleep too.
Is there a console command I can use that will enable / disable the display output? If I can prevent anything going via HDMI to the monitor, that will automatically put the monitor in standby (until a signal is received again).
Any thoughts or advice would be very welcome.
XDA Visitor said:
Hi folks,
I'm new to the forum, so I hope this is the right place to ask?
I've just installed AndroidX86 on an Intel NUC to use as a console display. However, I want to turn it off over night so that power isn't wasted (and so it doesn't light everything up!).
I tried using scripts like Tasker and Automate to turn off the screen at 11PM and wake it up at 8AM, however it appears that the whole machine goes to sleep and can't wake itself up. As a compromise, I thought I could try to disable the screen only - but I can't find a way to do this. Every method I try will put the Intel NUC to sleep too.
Is there a console command I can use that will enable / disable the display output? If I can prevent anything going via HDMI to the monitor, that will automatically put the monitor in standby (until a signal is received again).
Any thoughts or advice would be very welcome.
Click to expand...
Click to collapse
Hello and welcome to XDA.
You may register for XDA account to post and reply in the forum.
Also, you may visit here Ask any Query Newbie Friendly and try posting your query there, the experts there maybe able to assist you.
-Vatsal
Related
I have a windows mobile programming question:
I'm trying to write an application that will turn the phone to vibrate during a specific time of the day (when I'm at work). The problem I have is that when the phone goes to sleep my app apparently goes to sleep also. So my timer doesn't keep ticking to check if it is time to go to vibrate. Is there a way to keep my application running while the phone is in sleep mode so that the timer tick event is still called?
I would really appreciate any help, this is my first windows mobile app and don't know the intricacies of coding for windows mobile.
You may try the Unattended Mode...
http://blogs.msdn.com/windowsmobile/archive/2004/11/29/271991.aspx
like this?
http://forum.xda-developers.com/showthread.php?t=472878
imho, it's better to use the notification queue than have an application run in the background.
oldsap said:
like this?
http://forum.xda-developers.com/showthread.php?t=472878
imho, it's better to use the notification queue than have an application run in the background.
Click to expand...
Click to collapse
That's pretty much exactly what I'm doing. Though mine has a more graphical UI and is more touch friendly. I've finished everything except that when the phone falls asleep my timer event is not called to change the volume setting.
A_C said:
You may try the Unattended Mode...
http://blogs.msdn.com/windowsmobile/...29/271991.aspx
Click to expand...
Click to collapse
I'm a little confused by that article. Do I catch the event that the phone is falling asleep and then set it to unattended mode? Or is it that I would set it to unattended mode, and whenever the phone is supposed to fall asleep instead it goes to unattended mode?
Hey, I am taking a Android Tablet and installing it in the car.
Anyone know of a battery app or something else that I can set the device to auto power down (All Radios, Screen) when power is shut off to the charger.
Obviously when I turn the key and power is supplied to the tablet through the charger it will turn on, and with the screen set to never sleep I am set when I get in.
Just looking for a something that will auto shut down when I get out.
Thoughts?
I don't think there is a way for a normal app to do this.
If you are rooted there is a shell commands that can achieve this.
Have you looked in the market or on the net?
If you are rooted and you cant find any solution let me know, i might give writing such an app a try .
Thanks for the Reply Dark3n!
I spent hours yesterday research and downloading Battery and Power Control apps from the Market (free versions). I was able to find MANY apps that will somewhat do what I am looking for but only based on the Battery percentage, see "JuiceDefender".
Researching the paid versions of the app's got me nowhere, not enough documentation for me to risk the money and just download to see if the feature was there. If someones paid version of an App will let me do this please let me know and I will try it.
If you could write an app like this I would certainly donate to you or any group that you wish!!!!
Funny after I hit reply I looked at your signature, I downloaded your app yesterday too! Your type of app was what I was looking for, just need to add the feature.
Tharamis said:
Funny after I hit reply I looked at your signature, I downloaded your app yesterday too! Your type of app was what I was looking for, just need to add the feature.
Click to expand...
Click to collapse
, you probably mean the power manager.
Nah that app is fine as it is, but i could write a small app to do this, maybe polish it a little later and put it on the market for others.
In my head its already done
I don't have too much spare time at the moment, but i will keep you updated on any progress.
Could you open a console on your device and type as superuser:
"shutdown" or "shutdown now" or
"halt" or "halt now" or
"poweroff" or "poweroff now".
To see if any those commands are supported on your device?
Device HTC Flyer: Running LeeDroid 2.2.0 Kernel 2.3 - 2.6.35.14
"Shutdown now" = Shut the device off (had to boot it)
"Shutdown" = Shut the device off (had to boot it)
"halt" = Nothing
"halt now" = Nothing
"poweroff" = Nothing
"poweroff now" = Nothing
None put the device to sleep.
Do you want the device turned off?
Or in just any state using the least power possible?
In a state that uses the least amount of power possible.
We could put the phone into airplane mode and turn the screen off, and on charger connect we turn airplane mode off, and put the screen on always on?
That sounds great.
Got a prototype almost rdy.
And here it is
http://goo.gl/wWuC3
Let me know what you think.
Did you try it?
Hey Man sorry was out with girl yesterday. No cell phones allowed .
Just installed it and it works except for the screen. On power off wifi and Bluetooth shut down and airplane mode is enabled (gps stays on) but the screen never sleeps. Now I don't know if this is due to my low battery and the message popping up "please connect a charger". I am charging now and will report back.
On power up airplane mode shuts off and what ever I had enabled before comes back on.
Thanks man... I will let you know once I get her charged up.
Cool .
I don't think GPS stays on, i think its just showing that it is enabled.
Try using a GPS app with airplane mode on.
Regarding the screen staying, is it possible that another app is running in background or a system setting keeps the screen on?
I don't think i can force other apps to release their lock on the screen.
Well, the lack of communication here is a bit discouraging...
I put the app on the market for anyone else looking for the same solution.
https://market.android.com/details?id=eu.thedarken.cp
Sorry Dark. Thanksgiving week, ton of family in town. I will have a few a hours today.
Even at full charge screen still stays on. I need to go through all the running apps and the one that is keeping it on.
setcpu or voltage control
Tharamis said:
Sorry Dark. Thanksgiving week, ton of family in town. I will have a few a hours today.
Even at full charge screen still stays on. I need to go through all the running apps and the one that is keeping it on.
Click to expand...
Click to collapse
Write "dumpsys power" in console/shell. It will tell you who or what is keeping a wakelock.
I am planning a install of a tablet with cm9 into my vehicle and was wondering if there is a way to make the device auto turn on when i start my car and auto shutdown when i turn vehicle off?
This will be a Kindle Fire as it is the exact measurements i need and will have a custom rom on it.
Any help with this is much appreciated.
Look into the application Tasker. I'm not sure about automatically turning back on, but it will certainly turn it off for you.
However, just scaling down the CPU, turning off all radios, and the screen when not powered may suit your needs, and can be more easily done with Tasker.
(Edited because I misread a bit)
android (like windows and smbian) cant auto turn on the device, auto off, yes
winol said:
android (like windows and smbian) cant auto turn on the device, auto off, yes
Click to expand...
Click to collapse
the kindle fire is android based and it auto turns on with power..
Also this app enables this feature on specific device https://www.google.com/url?sa=t&rct...NyyCfaUMp8XfX5OYg&sig2=LshdXHh-_Rn_iS-jrJB0nQ
guess my solution is done, even after installing custom rom on kindle fire it auto turns on with power source.
Anyone know how to get a device to auto power off with loss of power?
If your going to say Tasker, please explain how you got it to work
Anyone pre-ordered yet?
Got myself a stonking deal
i7, 8Gb, 256Gb, Type 3 cover, spare PSU, £650....
Whoa, how'd you pull that off? That's a hell of a deal.
Signed a 10k deal at work, I asked for a free one but they said no, so I asked for a cheap one, hour later they came back with that offer, basically half price Pro 3 with free Type cover and spare PSU...
i7/8Gb/256Gb, should do the job
Well, aren't you lucky! Sadly, 10k is a couple orders of magnitude more people than my company employs, so I doubt I can convince the boss to let me sign for that many
I have the i5 256Gb model. I love it as it's exactly what I was after, large screen running windows so I could easily run lightroom and photoshop. I've had ipads for years and it takes a bit of getting used to. The screen is a little large for general tablet use and of course its a full on PC so can get v.hot and the fan can get full on loud at times. I also gets a lot more respect and thought when getting thrown in a bag, and there are places I would use the ipad without thinking where I would be more worried about the surface getting damaged. I has almost won w8 over for me as well though it's still far from perfect
Please share the recovery image. Mine is bricked from day 1. PM me if you can help
Sent from my HTC One_M8 using XDA Premium 4 mobile app
I Deleted my Recovery Image Can you Help Plz
jester350 said:
I have the i5 256Gb model. I love it as it's exactly what I was after, large screen running windows so I could easily run lightroom and photoshop. I've had ipads for years and it takes a bit of getting used to. The screen is a little large for general tablet use and of course its a full on PC so can get v.hot and the fan can get full on loud at times. I also gets a lot more respect and thought when getting thrown in a bag, and there are places I would use the ipad without thinking where I would be more worried about the surface getting damaged. I has almost won w8 over for me as well though it's still far from perfect
Click to expand...
Click to collapse
Could you Please share the recovery image
samykabu said:
Could you Please share the recovery image
Click to expand...
Click to collapse
I'm also hoping to get a copy of the restore image, as the surface I'm getting is from Japan. I would like to have access to the US version.
Maybe someone could make a magnet or torrent that could download.
I'd be very grateful.
I've got the Pro 3 EU image added to my FTP along with the recoveries for the RT, Surface 2, Pro, and Pro 2...
how
How is the pro 3?
haheho2 said:
How is the pro 3?
Click to expand...
Click to collapse
It is terrific....you definitely should get it. I have been using it for a while now and it is just fantastic.
The tablet is so light (for a full core i7 PC, 800 grams for tablet alone) and typing on the type cover is terrific as the keys are quite broad. The 3:2 form factor actually makes the tablet very usable compared to the longish 16:9 in many laptop and tablets. Kudos for Microsoft for daring to be different. The ability to do work in a Portrait orientation makes me so ultra productive as I can see my entire page all at once (very important to me). There are so many pluses in Portrait orientation, I can read an entire webpage at one go without having to zoom in. However, there is a caveat. When in portrait orientation, you have to unplug the type cover and essentially the type cover is useless when it is not plugged into the SP3. So you have to get an external (preferably bluetooth) keyboard for that. It sucks that it has only 1 USB port and despite what I have read online, the battery life was so-so for me....around 5 hours plus. Maybe its because I am using the core i7/512GB version. I would have gladly accepted another 100g of weight on the product in exchange for slightly longer battery life.
I think the sweet spot for this product in terms of price/performance/battery-life is really the core i5/256GB version. Occasionally it does get pretty hot at the back.....I am not sure if it is because of the core i7. Also, I used to own a Lenovo Yoga 2 pro...and although I like that laptop, however, 2 negatives for me...the yellow colors are more like mustard and there is no way to overcome it and Lenovo is pretty much ignoring the issue....and the standard SD card slot has 80% of the SD card sticking out of the slot. The screen and colors on the SP3 are very accurate and the 2K (2156x1440) resolution is sharp and bright. And Microsoft hid a micro-SD card slot behind the tablet hidden by the kick-stand and its terrific. However, the micro-SD card tends to go to sleep very often and the only way to wake it is to pull it out of the slot and push it back in. I have found no way to get the micro-SD card to stop going to sleep. The accuracy of the PEN when taking notes is very very good compared to many tablets that I have tried before and its smart integration to One Note (free) and One Note 2013 (free also I think) is fantastic.
So I've been using the SP3 for about a month and recently took it for travelling. At the hotel, i connected the SP3 to my Jambox speakers and it was great except that the music would turn off when the screen turns off. The only way to keep the music playing is to extend the sleep time on the SP3 which also means the screen is kept on. Not the most ideal case compared to using a notebook.
Is there a work around for this? Or maybe a setting i may have missed.
Sleep bug-----Hibernate Alternative
i had the surface 2 pro for 1 year and absolutely loved it, but i kept running into an issue that when it was in its sleep mode it somehow would wake itself up in its case and stay on running. Later for me to find a superheated surface with significant battery drain. The only fix i could find is to make it hybernate, it uses 8 gigs of harddrive space for the ram, but thats the only drawback, it starts about the same speed. So i recently bought the pro 3 for the sole purpose of the larger screen, that was my only complaint from my pro2. i then found out that the surface 3 seems to have the same issue as i had with the pro 2. But the pro 3 didnt have hibernation available when i searched for its, i asked the staff at my closest microsoft store and they said it looks like they phased it out. But after a ton of searching and digging i found a way to enable hibernate.
i tried enabling by cmd line like normal " powercfg -h on" didnt give me an error but nothing showed up.
Remember that you need enough hard drive space as hibernate takes your ram and dumps it to your harddrive. space used on hard drive=ram size
This replaces your sleep option with hibernate
1) hit start
2) search add or remove programs or Control Panel\Programs\Programs and Features
3) left side will have "Turn Windows features on or off"
4) select the main Hyper-V
5) hit ok
6) wait for it to find and install files
7) restart computer
9) should now show up under power button options
should you want to remove the hibernate and restore sleep option, simply go back in and uncheck the Hyper-V-you need to set your power button preferences again back to sleep
any help please leave a thanks
Scann69 said:
So I've been using the SP3 for about a month and recently took it for travelling. At the hotel, i connected the SP3 to my Jambox speakers and it was great except that the music would turn off when the screen turns off. The only way to keep the music playing is to extend the sleep time on the SP3 which also means the screen is kept on. Not the most ideal case compared to using a notebook.
Is there a work around for this? Or maybe a setting i may have missed.
Click to expand...
Click to collapse
sounds like its just going to sleep, if that's the case
extend the sleep time like you did but adjust the screen turn off to be shorter
1) Control Panel
2)All Control Panel Items
3)Power Options
4)Edit Plan Settings
Turning Hyper-V on or off as a way to control sleep-vs-hibernate is kind of silly; if you want to enable hibernate (and it's not already enabled) you can do that with a single line (in an Admin command prompt): "powercfg -H ON"
The behavior of the computer with regard to when it enters sleep and/or hibernate is controlled from the Power Options -> Edit Plan Settings, as you already gave steps to reach (though it's faster to just right-click the system tray battery icon and select "Power Options" than to go through the Control Panel).
stricker49 said:
sounds like its just going to sleep, if that's the case
extend the sleep time like you did but adjust the screen turn off to be shorter
1) Control Panel
2)All Control Panel Items
3)Power Options
4)Edit Plan Settings
Click to expand...
Click to collapse
Thanks for the reply. That's what i've been doing with all my other notebooks and computer but on the SP3, when i change the "Turn off display after" settings, it changes the sleep timing to match it.
Hence i'm guessing i'm missing a hidden step. Attached pix for better understanding.
Scann69 said:
Thanks for the reply. That's what i've been doing with all my other notebooks and computer but on the SP3, when i change the "Turn off display after" settings, it changes the sleep timing to match it.
Hence i'm guessing i'm missing a hidden step. Attached pix for better understanding.
Click to expand...
Click to collapse
turns out i disabled sleep mode and replaced it with hibernate, it gives me turn display of after __ min not the sleep like yours
the sleep issue i keep running into is it wakes itself up in the case and stays on. ill try to revert back and look into it
---------- Post added at 02:59 AM ---------- Previous post was at 02:52 AM ----------
GoodDayToDie said:
Turning Hyper-V on or off as a way to control sleep-vs-hibernate is kind of silly; if you want to enable hibernate (and it's not already enabled) you can do that with a single line (in an Admin command prompt): "powercfg -H ON"
The behavior of the computer with regard to when it enters sleep and/or hibernate is controlled from the Power Options -> Edit Plan Settings, as you already gave steps to reach (though it's faster to just right-click the system tray battery icon and select "Power Options" than to go through the Control Panel).
Click to expand...
Click to collapse
did you even read the full post?
if you read my post i ran that command to begin with since it was the simplest solution, but it doesnt work.
stricker49 said:
turns out i disabled sleep mode and replaced it with hibernate, it gives me turn display of after __ min not the sleep like yours
the sleep issue i keep running into is it wakes itself up in the case and stays on. ill try to revert back and look into it
---------- Post added at 02:59 AM ---------- Previous post was at 02:52 AM ----------
Click to expand...
Click to collapse
Thanks but i'll rather let it sleep cos waking up is much faster compared to hibernate IMO. Mine does not wake itself so i have no issues there. Just can't get the screen to turn off without letting the device sleep.
Hi trig0r,
I just got my self a Surface Pro 3 with 256gb i5 8GB and manage to install fresh windows 10 on it but I Can't get it to proper activate i will rather have it recover to default using the recovery image and then upgrade to windows 10..
Please help me with the recovery Image for SP3 pro US.
Just this thread of this topic?
I want to to the following.
Home Mode:
triggered when I log in to the home wifi
turn off screen lock
triggered when I disconnect from home wifi
turn on screen lock
car mode
triggered when I connect to bluetooth:
turn off screen lock
triggered when I disconnect
turn on screen lock.
What happens when I leave my house and get in my car? I am still connected to the wifi (garage is in range). The lock turns off and then turns back on again when I disconnect.
What happens when I arrive at home? The lock turns off and then back on again when I go out of bluetooth range.
I guess one option is to fiddle with delays but if I set a delay in one direction it fails in the other.
The other option is to check periodically but I feel like that's going to drain the battery.
Is there a better cleaner way to accomplish this?
Not tracking 100 %. But I think you're looking to have something done automatically depending on location. Please review [TUT] The Ultimate Noob/Beginners Guide to Tasker
That app would help.
Perseus said:
Not tracking 100 %. But I think you're looking to have something done automatically depending on location. Please review [TUT] The Ultimate Noob/Beginners Guide to Tasker
That app would help.
Click to expand...
Click to collapse
Hi.
I did not have any problems setting the location specific rules. I am asking about how to deal with contradicting rules. For example in the above scenario when I come home there is one rule which says "turn on the screen lock when I leave my car" and one rule says "turn off the screenlock when I get home".
These two rules contradict. I am looking for a good strategy to deal with such contradictions.
Please review that guide. It will be a good starting point for prioritizing the Rules. You may post on that thread if you need additional information or have questions.