---
title: PowerSourceSettings type | Wartiva GraphQL API
description: Power source settings controlling sleep timers, hibernation, wake behavior, and energy efficiency options for a given power source.
url: https://wartiva.com/api-docs/types/power-source-settings.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `PowerSourceSettings` type

Power source settings controlling sleep timers, hibernation, wake behavior, and energy efficiency options for a given power source.

## Fields

| Field Name | Description |
|---|---|
| `darkWakeBackgroundTasks` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the system can perform background tasks during dark wake (Power Nap). |
| `diskSleepTimer` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time before disks are put to sleep (in minutes). |
| `displaySleepTimer` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time before the display is put to sleep (in minutes). |
| `hibernateFile` - [`String!`](https://wartiva.com/api-docs/types/string.html) | Path to the hibernate image file used for safe sleep. |
| `hibernateMode` - [`HibernateMode!`](https://wartiva.com/api-docs/types/hibernate-mode.html) | Hibernate mode controlling how the system saves state on sleep. |
| `highPowerMode` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether high power mode is enabled. |
| `lowPowerMode` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether low power mode is enabled to extend battery life. |
| `prioritizeNetworkReachabilityOverSleep` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether to prioritize network reachability over sleep efficiency. |
| `reduceBrightness` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether display brightness is reduced on battery power. |
| `sleepOnPowerButton` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether pressing the power button puts the system to sleep. |
| `standbyEnabled` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether standby mode is enabled for deep idle sleep. |
| `systemSleepTimer` - [`Duration!`](https://wartiva.com/api-docs/types/duration.html) | Time before the system goes to sleep (in minutes). |
| `tcpKeepAlivePref` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether TCP keep-alive is enabled during sleep to maintain connections. |
| `ttysPreventSleep` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether a TTYS assertion prevents system sleep. |
| `wakeOnLAN` - [`Boolean!`](https://wartiva.com/api-docs/types/boolean.html) | Whether the system can be woken by network activity (Wake-on-LAN). |

## Used by

- [`PowerProfile`](https://wartiva.com/api-docs/types/power-profile.html) type: Power management profile containing settings for both battery and AC power sources.

## Example

### Example

```json
{
  "darkWakeBackgroundTasks": false,
  "diskSleepTimer": "600000000",
  "displaySleepTimer": "600000000",
  "hibernateFile": "xyz789",
  "hibernateMode": "SLEEP_SUSPEND_TO_RAM",
  "highPowerMode": false,
  "lowPowerMode": true,
  "prioritizeNetworkReachabilityOverSleep": false,
  "reduceBrightness": false,
  "sleepOnPowerButton": false,
  "standbyEnabled": true,
  "systemSleepTimer": "600000000",
  "tcpKeepAlivePref": true,
  "ttysPreventSleep": true,
  "wakeOnLAN": false
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
