Method

FwupdPluginContextget_lid_state

since: 1.7.4

Declaration [src]

FuLidState
fu_context_get_lid_state (
  FuContext* self
)

Description [src]

Gets the laptop lid state, if applicable.

Available since: 1.7.4

Return value

Type: FuLidState

A lid state, e.g. FU_LID_STATE_CLOSED.