在 API 9 中, 第一行提示找不到 kit 包
import {batteryInfo} from '@kit.BasicServicesKit'; import hilog from '@ohos.hilog'; 这是因为 api 版本不对吗?