• @[email protected]
    link
    fedilink
    English
    31 day ago

    Windows wakes up from hibernate? How tf is that happening? Also how tf it knows when to update when its hibernated/sleeping?

    • Diplomjodler
      link
      191 day ago

      Better always keep a gun next to your bed if you use Windows.

    • @highball
      link
      English
      41 day ago

      CPU interrupts. There are timer interrupts that can be used for this. In hibernate, only a tiny fraction of the CPU is changing the transistor states. A transistor only uses power when it changes state; i.e. “off” or Hibernate. Transistor state changes when you cycle the clock on a CPU. Anyways, set the register for the timer interrupt and signal the CPU for Hibernate. The timer circuit is still listening to the clock while the rest of the CPU stops listening to the clock. Each clock cycle you subtract one from the register. When the register reaches zero, the timer interrupt wakes the rest of the CPU. Just like moving your mouse or pressing the power button; they signal an interrupt which wakes the CPU.

      • @[email protected]
        link
        fedilink
        English
        41 day ago

        So they don’t wake when new update arrives but only for prescheduled previously downloaded update?

        • @[email protected]OP
          link
          fedilink
          71 day ago

          Yeah, update arriving part is not necessary but it wakes the PC up, checks for updates and install them if there are any, does this every night. And if you disabled auto-sleep it just stays like that until you interfere.

          • @[email protected]
            link
            fedilink
            English
            51 day ago

            Shit its wake to check for updates🤦‍♂ So it happens even if there is no update… Thats so fucked up

    • @[email protected]
      link
      fedilink
      123 hours ago

      from what i understood it wakes up randomly to check for updates, then goes back to sleep. or maybe it just stays on? im not sure