Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Hibernate/standby, resume, battery ac tool

  1. #1
    Maximum Bitrate zPilott's Avatar
    Join Date
    Jul 2004
    Location
    Austin
    Posts
    509

    Hibernate/standby, resume, battery ac tool

    I made this tool this weekend, and I thought I would share it with some others on the board here.

    It is designed to be used like the Startup folder in windows, you just put shortcts to programs you want to run in it, except that it can also run links when the computer goes to battery, goes to AC power, before hibernate/suspend, after resume, and also startup and shutdown.

    I made a vb script a while ago that would disable my touchscreen before I went into hibernate, then re enable it coming back (that is the only way I could get it to survive without physically unplugging it).
    I also had a program run when I went to battery power (I use a laptop) to force hibernation at a specific time (some apps prevent my computer from going into hibernation).

    My VB script stopped working for some reason, and I decided to do it right this time.

    Anyway, check it out if you are interested http://www.exitzer0.com/


    |V1 Virtual Display|

    Hard work often pays off over time, laziness always pays off right now.

  2. #2
    MySQL Error Scouse Monkey's Avatar
    Join Date
    Mar 2004
    Location
    Bristol
    Posts
    9,727
    nice, very nice.

    good work. Will be watching how it goes.

  3. #3
    Raw Wave tj!2k4's Avatar
    Join Date
    Oct 2004
    Posts
    3,294
    nice work!

  4. #4
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695
    What happens if I run a very long script/process upon hibernation? For example, it my process takes 4 mins to complete, will it hibernate after completion?

    In general, I think after you initiate a hibernation (or shutdown etc), any process you kick off needs to complete after 30 seconds, otherwise the process will become 'Application not reponding'
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  5. #5
    Raw Wave justintime's Avatar
    Join Date
    Apr 2005
    Posts
    2,695
    Just read the ReadMe, which addresses my question...
    * The Suspend folder is processed when you standby or hibernate. The time for this to occur is fairly quick, so make sure that anything in this folder will execute quickly, or it may still be running on resume
    I think I still prefer the Interceptor tool that FRODO has coded. (Search forums if you're interested)

    EDIT: FRODO coded it, sorry!!!!

    Quote Originally Posted by justintime
    What happens if I run a very long script/process upon hibernation? For example, it my process takes 4 mins to complete, will it hibernate after completion?

    In general, I think after you initiate a hibernation (or shutdown etc), any process you kick off needs to complete after 30 seconds, otherwise the process will become 'Application not reponding'
    2002 Honda CR-V
    Carputer progress: 90% [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ -]
    Spent so far: $1105.90


    Download the NEXUS Skin for Centrafuse
    ...or even Listen to my music

  6. #6
    Maximum Bitrate zPilott's Avatar
    Join Date
    Jul 2004
    Location
    Austin
    Posts
    509
    no problem, I made it for myself mainly

    I actually detect the battery status, then run commands (sync, etc) then when that is done, run hibernate

    hibernate just disables my touchscreen.

    you only get an app not responding on shutdown, not on hibernate (on hibernate it will just hibernate anyway).

    It should work for long scripts on shutdown, and I could do the same for suspend/hibernate, but it is a little screwy, and I dont need it personally

    |V1 Virtual Display|

    Hard work often pays off over time, laziness always pays off right now.

  7. #7
    FLAC
    Join Date
    May 2005
    Location
    Vienna, VA
    Posts
    1,375
    I actually detect the battery status, then run commands (sync, etc) then when that is done, run hibernate
    How do you detect "when that is done"? Do you wait for the app to just close itself? What syncing app are you using?

    I'm very interested in this. Thanks.

  8. #8
    Maximum Bitrate zPilott's Avatar
    Join Date
    Jul 2004
    Location
    Austin
    Posts
    509
    i was using rsync, but i have just recently switched to unison, though i havent decided if it is better or not yet,

    I just have a single script that runs on battery that checks to make sure we are still on battery when it is done, and if so, hibernates

    |V1 Virtual Display|

    Hard work often pays off over time, laziness always pays off right now.

  9. #9
    Constant Bitrate
    Join Date
    Mar 2005
    Location
    UK
    Posts
    197
    I have made my own software version simular to this
    Shutdown Controller Software

  10. #10
    Low Bitrate
    Join Date
    Oct 2005
    Posts
    77
    Is there a place to still download this program?

Page 1 of 3 123 LastLast

Similar Threads

  1. Can I put an extra battery in my Chevy?
    By Mastiff in forum Power Supplies
    Replies: 14
    Last Post: 11-04-2008, 11:45 AM
  2. car battery
    By Slurpee in forum General Hardware Discussion
    Replies: 35
    Last Post: 09-08-2007, 05:30 PM
  3. MPJA - MECI ASTEC DC-DC Converter
    By Luc in forum General Hardware Discussion
    Replies: 39
    Last Post: 11-22-2004, 09:31 PM
  4. Laptop battery died
    By jol in forum General Hardware Discussion
    Replies: 6
    Last Post: 08-22-2003, 03:55 AM
  5. Replies: 6
    Last Post: 08-06-2001, 02:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •