Proposal for all-electrical measurement of T1 in semiconductors