In the sixth-generation network, many low-power devices are predicted to be integrated into tasks incorporating communication and sensing. The integrated sensing and communication (ISAC) technology reuses a wireless signal for data transfer and radar sensing. Furthermore, wireless signals have the capacity to transmit energy, allowing for the simultaneous wireless information and power transfer (SWIPT). To enhance spectrum utilization, the deeper integration of SWIPT and ISAC has opened up novel investigate directions for integrated sensing, communication, and power transfer (ISCPT). This paper investigates a simultaneously transmitting and reflecting reconfigurable intelligent surface (STAR-RIS) supported ISCPT system that solves the problem of traditional RIS not achieving full space wireless signal coverage. In particular, since the serious path loss issue of sensing, we propose a novel architecture for installing dedicated sensors on STAR-RIS. Under this setting, we jointly optimized the passive beamforming at STAR-RIS and the active beamforming at base station to minimize the Cramér-Rao bound (CRB) used to estimate the sensing target's two-dimensional direction of arrivals, while being constrained by the lowest signal-to-interference-plus-noise-ratio (SINR) of communication users (CUs), the lowest energy harvesting (EH) of energy users (EUs), and the maximum transmission power at base station. For complex non-convex problems, a proposed two-layer cyclic algorithm utilizes penalty dual decomposition (PDD) and block coordinate descent (BCD). Finally, the numerical outcomes verify the efficacy of our suggested design, which reveals the performance trade-off between communication, power transmission and sensing. Furthermore, compared to traditional RIS, the estimated CRB of this design is lower.