<div class='sourceset sourceset-android'>Android</div>

```kotlin
public val LocalAmbientModeManager: ProvidableCompositionLocal<AmbientModeManager?>
```

A [androidx.compose.runtime.CompositionLocal] that provides the current [AmbientModeManager](/jetpack-compose/androidx.wear.compose/compose-foundation/interfaces/AmbientModeManager)
interface.

This local is the primary way for any composable in the hierarchy to access the manager
responsible for tracking the ambient (low-power) mode state.

Composables read the manager using [LocalAmbientModeManager](/jetpack-compose/androidx.wear.compose/compose-foundation/properties/LocalAmbientModeManager).current and subscribe to changes via
the [AmbientModeManager.currentAmbientMode] property.

If no [AmbientModeManager](/jetpack-compose/androidx.wear.compose/compose-foundation/interfaces/AmbientModeManager) is explicitly provided higher up the tree (e.g., via
[rememberAmbientModeManager](/jetpack-compose/androidx.wear.compose/compose-foundation/composable-functions/rememberAmbientModeManager)), this local returns `null`.