PosSharp v1.2.0 API Reference
---
#### [PosSharp\.Core](PosSharp.Core 'PosSharp\.Core')
### [PosSharp\.Core](PosSharp.Core 'PosSharp\.Core').[UposDeviceBase](PosSharp.Core.UposDeviceBase 'PosSharp\.Core\.UposDeviceBase')
## UposDeviceBase\.UpdatePowerState\(PowerState\) Method
Updates the current power state and fires an event if notification is enabled\.
```csharp
protected void UpdatePowerState(PosSharp.Abstractions.PowerState newState);
```
#### Parameters
`newState` [PosSharp\.Abstractions\.PowerState](https://learn.microsoft.com/en-us/dotnet/api/possharp.abstractions.powerstate 'PosSharp\.Abstractions\.PowerState')
The new power state\.