You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: battery_windows.go
    path of file: ./repos/gotop/vendor/github.com/distatus/battery
    
    the code of the file until where you have to start completion: // battery
// Copyright (C) 2016-2017 Karol 'Kenji Takahashi' Wo≈∫niak
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation 
    
func readState(powerState uint32) State {
	switch powerState {
	case 0x00000004:
		return Charging
	case 0x00000008:
		return Empty
	case 0x00000002:
		return Discharging
	case 0x00000001:
		return Full
	default:
		return Unknown
	}
}