> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionLINGotoSleepInternal

[Open topic with navigation](../../../../../CANoeDEFamily.htm#Topics/CAPLFunctions/LIN/Functions/CAPLfunctionLINGotoSleepInternal.md)

**CAPL Functions** » [LIN](../CAPLfunctionsLINOverview.md) » linGotoSleepInternal

# linGotoSleepInternal

[Valid for](../../../Shared/FeatureAvailability.md): CANoe DE • CANoe4SW DE

## Function Syntax

```plaintext theme={null}
long linGotoSleepInternal();
```

## Description

Sets the LIN hardware to Sleep mode without sending a go-to-sleep-command on the network. Calling this function in the event procedure [on prestart](../../Other/EventProcedures/CAPLfunctionsEventproceduresMeasurementSystem.md) leads to measurement start in sleep mode.

## Parameters

—

## Return Values

On success, a value unequal to zero, otherwise zero.

## Example

```plaintext theme={null}
// start measurement in Sleep mode
on preStart
{
  linGotoSleepInternal();
}
```
