> ## Documentation Index
> Fetch the complete documentation index at: https://docs-d0.donutbrowser.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hibernation & Wake Up

> Your D0 Bot runs on a dedicated cloud environment. When you're not using it, you can put it to sleep (hibernate) to save resources, and bring it back (wake up) 

Your D0 Bot runs on a dedicated cloud environment. When you're not using it, you can put it to sleep (hibernate) to save resources, and bring it back (wake up) whenever you need it.

## What Is Hibernation?

Hibernation is like putting your bot to sleep. When hibernated:

* Your bot **won't respond** to Telegram messages
* Your bot's data and settings are **safely saved**
* **No resources are used** while sleeping

When you wake it up, everything is restored — your settings, your configuration, and your alerts come back exactly as they were.

## How to Hibernate

1. Go to the **D0 Dashboard**
2. Click the **Hibernate** button next to your bot's name
3. Your bot will shut down gracefully and save its current state

The hibernation process takes a few seconds.

<Warning>
  If you have active price alerts, they will be **paused** while your bot is hibernated. They will automatically resume when you wake your bot up.
</Warning>

## How to Wake Up

<Frame caption="Waking your bot: offline to online in about 1-2 minutes.">
  <video controls playsInline muted preload="metadata" className="w-full rounded-xl" src="https://mintcdn.com/donut-6b37471f/NPWRsXkeXwD6vNU_/media/bot-management/wake-up.mp4?fit=max&auto=format&n=NPWRsXkeXwD6vNU_&q=85&s=cd4764f63ad70104c76d38e78d3612e7" data-path="media/bot-management/wake-up.mp4" />
</Frame>

### From the Dashboard

1. Go to the **D0 Dashboard**
2. Click the **Wake Up** button
3. Wait 1-2 minutes for your bot to come back online
4. You'll see a progress indicator showing the steps

### From Telegram

Simply send a message to your hibernated bot on Telegram — it will automatically wake up and respond. The first response may take 1-2 minutes while your environment restarts.

## What Happens During Wake Up

When your bot wakes up, four things happen in order:

1. **Environment restored** — Your bot's saved state is loaded
2. **AI service starts** — The AI engine comes back online
3. **Telegram connected** — Your bot reconnects to Telegram
4. **Alerts resumed** — Any paused price alerts are reactivated

This usually takes **1-2 minutes**.

## When Should You Hibernate?

| Situation                    | Recommendation                                        |
| ---------------------------- | ----------------------------------------------------- |
| Going to sleep for the night | Optional — hibernate if you want, or leave it running |
| Going on vacation            | Hibernate to save resources                           |
| Taking a break from trading  | Hibernate                                             |
| Still need price alerts      | Keep your bot **running**                             |
| Active trading hours         | Keep your bot **running**                             |

## Good to Know

* **Your data is safe** — Hibernation saves everything. Nothing is lost when you hibernate.
* **Wake up is fast** — It takes about 1-2 minutes to be back online, not hours.
* **No message loss** — Messages sent to your bot while it's hibernated are not lost by Telegram. However, your bot won't process or respond to them until it wakes up.
* **Alerts pause automatically** — Active price alerts are paused when you hibernate and resume when you wake up. You don't need to re-create them.
