An electronic device is provided. The electronic device includes a medical testing unit. The medical testing unit includes medical processor, a blood oxygen testing module, and a blood oxygen sensor. The blood oxygen sensor is electrically coupled to the blood oxygen testing module. The medical processor is electrically coupled to the blood oxygen testing module. The medical processor is configured to control the blood oxygen testing module and the blood oxygen sensor to test blood oxygen parameter of a user.一種電子裝置,包括醫療測試單元,該醫療測試單元至少包括醫療處理單元、血氧測試模組及血氧感測器,該血氧感測器與該血氧測試模組電性連接,該醫療處理單元與該血氧測試模組電性連接,用於控制該血氧測試模組與該血氧感測器對使用者的血氧飽和度參數進行測試。1‧‧‧電子裝置10‧‧‧主機單元20‧‧‧醫療測試單元30‧‧‧殼體