Fix bug
This commit is contained in:
		| @@ -47,7 +47,7 @@ export default function() { | |||||||
| async function cpuUsage() { | async function cpuUsage() { | ||||||
| 	try { | 	try { | ||||||
| 		const data = await sysUtils.currentLoad(); | 		const data = await sysUtils.currentLoad(); | ||||||
| 		return Math.floor(data.currentload); | 		return Math.floor(data.currentload / 100); | ||||||
| 	} catch (error) { | 	} catch (error) { | ||||||
| 		console.error(error); | 		console.error(error); | ||||||
| 		throw error; | 		throw error; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aya Morisawa
					Aya Morisawa