You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
918 B
27 lines
918 B
// Copyright 2017 The Chromium OS Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
syntax = "proto2";
|
|
|
|
option optimize_for = LITE_RUNTIME;
|
|
|
|
package power_manager;
|
|
|
|
// Included in powerd's ScreenIdleStateChanged signal, emitted when the screen's
|
|
// dimming or on/off state changes in response to user activity or inactivity.
|
|
message ScreenIdleState {
|
|
// Next ID to use: 3
|
|
|
|
// If true, the screen-dim timeout has been reached.
|
|
//
|
|
// Note that this only reflects the inactivity delay. The screen may actually
|
|
// be turned off due to an earlier user request to reduce its brightness to 0,
|
|
// for instance. Use kBrightnessChangedSignal if you need to know the
|
|
// screen brightness currently requested by powerd.
|
|
optional bool dimmed = 1;
|
|
|
|
// If true, the screen-off timeout has been reached.
|
|
optional bool off = 2;
|
|
}
|