Voltage-gated potassium channel that mediates transmembrane potassium transport in excitable membranes. Homotetramer or heterotetramer (Probable). Interacts with unc-101 (via N-terminus); which targets kvs-4 to dendrites (PubMed:26762178). Association with unc-101 is required for dendritic localization. Expressed in the cholinergic motor neuron DA9, mechanosensory neurons ALM and PLM, and the interneuron PVPL. The transmembrane segment S4 functions as voltage-sensor and is characterized by a series of positively charged amino acids at every third position. Channel opening and closing is effected by a conformation change that affects the position and orientation of the voltage-sensor paddle formed by S3 and S4 within the membrane. A transmembrane electric field that is positive inside would push the positively charged S4 segment outwards, thereby opening the pore, while a field that is negative inside would pull the S4 segment inwards and close the pore. Changes in the position and orientation of S4 are then transmitted to the activation gate formed by the inner helix bundle via the S4-S5 linker region. The EQMIL and WNIIE motifs are required for dendritic localization. Belongs to the potassium channel family. B (Shab) (TC 1.A.1.2) subfamily. Kv2.2/KCNB2 sub-subfamily.